struct

Kebab::Error::Base

Inherits Struct < Value < Object

Common base for every kebab parse error. Carries a one-line message and an abstract command which returns the class of the command being parsed when the error fired.

Constructors

new(message : String)
Source

Instance methods

command

The class of the command being parsed when this error fired.

Source
message

One-line description of what went wrong.

Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source