Exception: CLI::ParsingError::CastError

Inherits:
CLI::ParsingError show all
Defined in:
lib/cli.rb

Instance Method Summary collapse

Constructor Details

#initialize(arg, cast_name, error) ⇒ CastError

Returns a new instance of CastError.



86
87
88
# File 'lib/cli.rb', line 86

def initialize(arg, cast_name, error)
	super("failed to cast: '#{arg}' to type: #{cast_name}: #{error}")
end