struct

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

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

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

Constructors

from(failure : Kebab::Convert::Failure, *, value : String, source : Schema::Option | Schema::Argument, schema : Kebab::Schema::Command, invoked : String | Nil = nil) : self
Source
new(value : String, source : Schema::Option | Schema::Argument, schema : Schema::Command, target_name : String | Nil = nil, reason : String | Nil = nil, invoked : 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