struct

Kebab::Error::RepeatedOption

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

The same option was supplied more than once.

Constructors

new(option : Schema::Option, schema : Schema::Command, invoked : String | Nil = nil)
Source

Instance methods

option

The option that was repeated.

Source
schema

The command being parsed when the error fired.

Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source

Nested types