final
case class
ErrorInfo(summary: String = "", detail: String = "") extends Product with Serializable
Instance Constructors
-
new
ErrorInfo(summary: String = "", detail: 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
clone(): AnyRef
-
val
detail: String
-
-
-
-
-
-
def
finalize(): Unit
-
def
format(withDetail: Boolean): String
-
def
formatPretty: String
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
summary: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
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).