Unauthorized

zio.http.Status.Unauthorized
case object Unauthorized extends ClientError

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait ClientError
trait Error
trait Status
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton

Attributes

Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Value members

Inherited methods

def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
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 productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

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

Concrete fields

override val code: Int

Returns the status code.

Returns the status code.

Attributes

Inherited fields

lazy val text: String

Attributes

Inherited from:
Status