Companion
object Companion
Functions
Link copied to clipboard
fun of(status: Int, title: String, detail: String?, code: String?, violations: List<Violation> = emptyList(), result: CommandResult? = null, extensions: Map<String, Any?> = emptyMap(), retryAfter: Long? = null, version: Int? = null): Problem
A Problem of the given fields; parameters added later come last, with a default.
Link copied to clipboard
The problem a route answers an unexpected failure with: a store that is unavailable is 503 wow.storage.unavailable with Retry-After, a body larger than the codecs take is 413, and anything else a 500 that says nothing of its cause, which the route logs. Never Spring's bare error page.