class

Hwaro::HwaroError

Inherits Exception / Reference / Object

Exception carrying a classified error code, category and optional hint. Callers raise this from high-value paths; the Runner (and a handful of JSON-emitting command sites) pick it up and render the structured form.

Constructors

new(code : String, message : String, hint : String | Nil = nil, cause : Exception | Nil = nil)
Source

Instance methods

category
Source
code
Source
exit_code
Source
hint
Source
to_error_payload

Structured payload used by --json / quiet-mode emission sites.

Source