HttpCodecError

zio.http.codec.HttpCodecError
See theHttpCodecError companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class CustomError(name: String, message: String) extends HttpCodecError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class DecodingErrorHeader(headerName: String, cause: DecodeError) extends HeaderError

Attributes

Supertypes
trait HeaderError
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
sealed trait HeaderError extends HttpCodecError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class InvalidEntity(details: String, cause: Chunk[ValidationError] = ...) extends HttpCodecError

Attributes

Companion
object
Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object InvalidEntity

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class InvalidHeaderCount(name: String, expected: Int, actual: Int) extends HeaderError

Attributes

Supertypes
trait HeaderError
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class InvalidQueryParamCount(name: String, expected: Int, actual: Int) extends QueryParamError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MalformedBody(details: String, cause: Option[Throwable] = ...) extends HttpCodecError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MalformedHeader(headerName: String, textCodec: TextCodec[_]) extends HttpCodecError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MalformedMethod(expected: Method, actual: Method) extends HttpCodecError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MalformedPath(path: Path, pathCodec: PathCodec[_], error: String) extends HttpCodecError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MalformedQueryParam(queryParamName: String, cause: DecodeError) extends QueryParamError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MalformedStatus(expected: Status, actual: Status) extends HttpCodecError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MissingHeader(headerName: String) extends HeaderError

Attributes

Supertypes
trait HeaderError
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MissingHeaders(headerNames: Chunk[String]) extends HeaderError

Attributes

Supertypes
trait HeaderError
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MissingQueryParam(queryParamName: String) extends QueryParamError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MissingQueryParams(queryParamNames: Chunk[String]) extends QueryParamError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class PathTooShort(path: Path, textCodec: TextCodec[_]) extends HttpCodecError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
sealed trait QueryParamError extends HttpCodecError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class UnsupportedContentType(contentType: String) extends HttpCodecError

Attributes

Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def isHttpCodecError(cause: Cause[Any]): Boolean
def isMissingDataOnly(cause: Cause[Any]): Boolean