struct

Kebab::Error::InvalidCollection::Exact(T, C)

Inherits Kebab::Error::InvalidCollection::Of < Kebab::Error::InvalidCollection::For < Kebab::Error::InvalidCollection < Kebab::Error::Base < Struct < Value < Object

Concrete subclass parameterised by the target type T and the command C.

Constructors

from(failure : Kebab::Convert::Failure, *, values : Array(String), source : Schema::Option | Schema::Argument, schema : Kebab::Schema::Command) : self
Source
new(values : Array(String), source : Schema::Option | Schema::Argument, schema : Schema::Command, target_name : String | Nil = nil, reason : String | Nil = nil)
Source

Instance methods

command

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

Source
target_type

The target type's class.

Source
target_type_name

The target type's class name.

Source