struct

Kebab::Error::UnknownOption

Inherits Kebab::Error::Base < Struct < Value < Object

The user typed an option flag that doesn't match any declared option.

Constructors

new(input : String, schema : Schema::Command)
Source

Instance methods

input

The token the user typed (e.g. "--bogus" or "-z").

Source
schema

The command being parsed when the error fired.

Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source

Nested types