struct

Kebab::Error::UnexpectedArgument

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

The user passed more positionals than the command declared.

Constructors

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

Instance methods

schema

The command being parsed when the error fired.

Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source
value

The first unexpected positional value.

Source

Nested types