RouteRefusal

class RouteRefusal @JvmOverloads constructor(val code: String, val message: String, val extensions: Map<String, Any?> = emptyMap()) : RuntimeException

A service route's refusal of a call: its code, one of the route's declared errors, a message shown to the caller, and structured extensions, which the problem writes as its members. Its status is the code's in the context's error table, 422 when the table has none.

Constructors

Link copied to clipboard
constructor(code: String, message: String, extensions: Map<String, Any?> = emptyMap())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val message: String