InvalidMessageBodyFailure

org.http4s.InvalidMessageBodyFailure
final case class InvalidMessageBodyFailure(details: String, cause: Option[Throwable]) extends MessageBodyFailure

Indicates a semantic error decoding the body of an HTTP Message.

Attributes

Source
MessageFailure.scala
Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Provides a message appropriate for logging.

Provides a message appropriate for logging.

Attributes

Source
MessageFailure.scala
def toHttpResponse[F[_]](httpVersion: HttpVersion): Response[F]

Provides a default rendering of this failure as a Response.

Provides a default rendering of this failure as a Response.

Attributes

Source
MessageFailure.scala

Inherited methods

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
final override def getCause: Throwable

Attributes

Definition Classes
Inherited from:
MessageFailure
Source
MessageFailure.scala

Attributes

Inherited from:
Throwable
final override def getMessage: String

Attributes

Definition Classes
Inherited from:
MessageFailure
Source
MessageFailure.scala

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Throwable
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Throwable