final case class ErrorResponseConfig(withErrorBody: Boolean = false, withStackTrace: Boolean = false, maxStackTraceDepth: Int = 10, errorFormat: ErrorFormat = ErrorResponseConfig.ErrorFormat.Html) extends Product with Serializable
Configuration for the response generation
- withErrorBody
if true, includes the error message in the response body
- withStackTrace
if true, includes the stack trace in the response body
- maxStackTraceDepth
maximum number of stack trace lines to include in the response body. Set to 0 to include all lines.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ErrorResponseConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ErrorResponseConfig(withErrorBody: Boolean = false, withStackTrace: Boolean = false, maxStackTraceDepth: Int = 10, errorFormat: ErrorFormat = ErrorResponseConfig.ErrorFormat.Html)
- withErrorBody
if true, includes the error message in the response body
- withStackTrace
if true, includes the stack trace in the response body
- maxStackTraceDepth
maximum number of stack trace lines to include in the response body. Set to 0 to include all lines.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val errorFormat: ErrorFormat
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxStackTraceDepth: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val withErrorBody: Boolean
- val withStackTrace: Boolean