zio.http.ErrorResponseConfig
See theErrorResponseConfig companion object
final case class ErrorResponseConfig(withErrorBody: Boolean, withStackTrace: Boolean, maxStackTraceDepth: Int, errorFormat: ErrorFormat)
Configuration for the response generation
Value parameters
- maxStackTraceDepth
-
maximum number of stack trace lines to include in the response body. Set to 0 to include all lines.
- withErrorBody
-
if true, includes the error message in the response body
- withStackTrace
-
if true, includes the stack trace in the response body
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article