Packages

c

org.http4s

GenericParsingFailure

final case class GenericParsingFailure(sanitized: String, details: String, response: (HttpVersion) ⇒ Task[Response]) extends ParsingFailure with Product with Serializable

Generic description of a failure to parse an HTTP Message

Source
MessageFailure.scala
Linear Supertypes
Serializable, Product, Equals, ParsingFailure, NoStackTrace, MessageFailure, RuntimeException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenericParsingFailure
  2. Serializable
  3. Product
  4. Equals
  5. ParsingFailure
  6. NoStackTrace
  7. MessageFailure
  8. RuntimeException
  9. Exception
  10. Throwable
  11. Serializable
  12. AnyRef
  13. Any
Implicitly
  1. by RichException
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GenericParsingFailure(sanitized: String, details: String, response: (HttpVersion) ⇒ Task[Response])

Value Members

  1. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  2. val details: String
  3. def fillInStackTrace(): Throwable
    Definition Classes
    NoStackTrace → Throwable
  4. def getCause(): Throwable
    Definition Classes
    Throwable
  5. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  6. final def getMessage(): String
    Definition Classes
    MessageFailure → Throwable
  7. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  8. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  9. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  10. def message: String

    Provides a message appropriate for logging.

    Provides a message appropriate for logging.

    Definition Classes
    GenericParsingFailureMessageFailure
  11. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  12. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  13. def printStackTrace(): Unit
    Definition Classes
    Throwable
  14. val response: (HttpVersion) ⇒ Task[Response]
  15. val sanitized: String
  16. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  17. def toHttpResponse(httpVersion: HttpVersion): Task[Response]

    Provides a default rendering of this failure as a Response.

    Provides a default rendering of this failure as a Response.

    Definition Classes
    GenericParsingFailureMessageFailure
  18. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any

Deprecated Value Members

  1. def getStackTraceString: String
    Implicit
    This member is added by an implicit conversion from GenericParsingFailure to RichException performed by method RichException in scala.Predef.
    Definition Classes
    RichException
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) use Throwable#getStackTrace