Instance Constructors
-
new
ErrorInfo(summary: String = "", detail: String = "", errorHeaderName: String = "")
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (ErrorInfo, B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
canEqual(that: Any): Boolean
-
def
clone(): AnyRef
-
val
detail: String
-
-
-
-
-
-
-
val
errorHeaderName: String
-
def
finalize(): Unit
-
def
format(withDetail: Boolean): String
-
def
formatPretty: String
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
productArity: Int
-
def
productElement(n: Int): Any
-
def
productIterator: Iterator[Any]
-
def
productPrefix: String
-
val
summary: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withErrorHeaderName(headerName: String): ErrorInfo
-
def
withFallbackSummary(fallbackSummary: String): ErrorInfo
-
def
withSummary(newSummary: String): ErrorInfo
-
def
withSummaryPrepended(prefix: String): ErrorInfo
-
def
→[B](y: B): (ErrorInfo, B)
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).