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(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 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 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, 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 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 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 MissingQueryParam(queryParamName: 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 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
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 types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

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