ServerError

zio.http.Status$.ServerError
sealed trait ServerError 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 BadGateway.type
object GatewayTimeout.type
object InsufficientStorage.type
object InternalServerError.type
object NotExtended.type
object NotImplemented.type
object ServiceUnavailable.type
object VariantAlsoNegotiates.type
Show all

Members list

Value members

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

Inherited from:
Status

Attributes

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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

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