Interface BadRequestError

  • All Implemented Interfaces:

    
    public interface BadRequestError
    
                        

    Marker interface for business logic errors returned by typed request APIs.

    All API-specific error types must implement this interface. Errors can implement multiple specific error interfaces to indicate they may be returned by multiple APIs.

    Example:

    sealed interface AciByUsernameFetchError : BadRequestError
    object UserNotFound : AciByUsernameFetchError
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail