Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class WowProblemException @JvmOverloads constructor(val code: String, val status: Int, val retry: Retry, val retryAfter: Duration?, message: String, val result: CommandResult? = null, cause: Throwable? = null) : RuntimeException
A request Wow did not carry out for a reason of its code: the code (wow.command.busy, wow.storage.unavailable, wow.query.invalid, ...), the HTTP status it is answered with (problem+json), the command's result when it had one, and what a retry may do (retry, after retryAfter), as the error catalog says of the code. The same failure is the same exception in process and over HTTP: each boundary maps its own errors to it once.