ClientError

zio.http.Status.ClientError
sealed trait ClientError extends Error

Attributes

Graph
Supertypes
trait Error
trait Status
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object BadRequest.type
object Conflict.type
object ExpectationFailed.type
object FailedDependency.type
object Forbidden.type
object Gone.type
object LengthRequired.type
object Locked.type
object MethodNotAllowed.type
object MisdirectedRequest.type
object NotAcceptable.type
object NotFound.type
object PaymentRequired.type
object PreconditionFailed.type
object PreconditionRequired.type
object RequestEntityTooLarge.type
object RequestTimeout.type
object RequestUriTooLong.type
object TooManyRequests.type
object Unauthorized.type
object UnorderedCollection.type
object UnprocessableEntity.type
object UnsupportedMediaType.type
object UpgradeRequired.type
Show all

Members list

Value members

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def isClientError: Boolean

Attributes

Inherited from:
Status
def isError: Boolean

Attributes

Inherited from:
Status
def isInformational: Boolean

Attributes

Inherited from:
Status
def isRedirection: Boolean

Attributes

Inherited from:
Status
def isServerError: Boolean

Attributes

Inherited from:
Status
def isSuccess: Boolean

Attributes

Inherited from:
Status
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product
def toHttpApp(implicit trace: Trace): Handler[Any, Nothing, Any, Response]

Returns an HttpApp[Any, Nothing] that responses with this http status code.

Returns an HttpApp[Any, Nothing] that responses with this http status code.

Attributes

Inherited from:
Status

Returns a Response with empty data and no headers.

Returns a Response with empty data and no headers.

Attributes

Inherited from:
Status

Inherited fields

val code: Int

Returns the status code.

Returns the status code.

Attributes

Inherited from:
Status
lazy val text: String

Attributes

Inherited from:
Status