final class ErrorInfo extends Product with Serializable with Equals with Serializable

Two-level model of error information. The summary should explain what is wrong with the request or response *without* directly repeating anything present in the message itself (in order to not open holes for XSS attacks), while the detail can contain additional information from any source (even the request itself).

Source
ErrorInfo.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ErrorInfo
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ErrorInfo(summary: String = "", detail: String = "", errorHeaderName: String = "")

Value Members

  1. def canEqual(that: Any): Boolean
    Definition Classes
    ErrorInfo → Equals
  2. val detail: String
  3. def equals(that: Any): Boolean
    Definition Classes
    ErrorInfo → Equals → AnyRef → Any
  4. val errorHeaderName: String
  5. def format(withDetail: Boolean): String
  6. def formatPretty: String
  7. def productArity: Int
    Definition Classes
    ErrorInfo → Product
  8. def productElement(n: Int): Any
    Definition Classes
    ErrorInfo → Product
  9. def productIterator: Iterator[Any]
    Definition Classes
    Product
  10. def productPrefix: String
    Definition Classes
    Product
  11. val summary: String
  12. def withErrorHeaderName(headerName: String): ErrorInfo
  13. def withFallbackSummary(fallbackSummary: String): ErrorInfo
  14. def withSummary(newSummary: String): ErrorInfo
  15. def withSummaryPrepended(prefix: String): ErrorInfo