ParseFailure

final case class ParseFailure(sanitized: String, details: String) extends MessageFailure with NoStackTrace

Indicates an error parsing an HTTP Message.

Value parameters:
details

Contains any relevant details omitted from the sanitized version of the error. This may freely echo a Request.

sanitized

May safely be displayed to a client to describe an error condition. Should not echo any part of a Request.

Companion:
object
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def toHttpResponse[F[_]](httpVersion: HttpVersion): Response[F]

Inherited methods

final def addSuppressed(x$0: Throwable): Unit
Inherited from:
Throwable
override def fillInStackTrace(): Throwable
Definition Classes
NoStackTrace -> Throwable
Inherited from:
NoStackTrace
final override def getCause: Throwable
Definition Classes
MessageFailure -> Throwable
Inherited from:
MessageFailure
def getLocalizedMessage(): String
Inherited from:
Throwable
final override def getMessage: String
Definition Classes
MessageFailure -> Throwable
Inherited from:
MessageFailure
def getStackTrace(): Array[StackTraceElement]
Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]
Inherited from:
Throwable
def initCause(x$0: Throwable): Throwable
Inherited from:
Throwable
def printStackTrace(x$0: PrintWriter): Unit
Inherited from:
Throwable
def printStackTrace(x$0: PrintStream): Unit
Inherited from:
Throwable
Inherited from:
Throwable
Inherited from:
Product
def setStackTrace(x$0: Array[StackTraceElement]): Unit
Inherited from:
Throwable
def toString(): String
Inherited from:
Throwable