Exception: Cl::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Cl::Error
- Defined in:
- lib/cl.rb
Constant Summary collapse
- MSGS =
{ missing_args: 'Missing arguments (given: %s, required: %s)', too_many_args: 'Too many arguments (given: %s, allowed: %s)', wrong_type: 'Wrong argument type (given: %s, expected: %s)', exceeding_max: 'Exceeds max value: %s', invalid_format: 'Invalid format: %s', unknown_values: 'Unknown value: %s', required_opt: 'Missing required option: %s', required_opts: 'Missing required options: %s', requires_opt: 'Missing option: %s', requires_opts: 'Missing options: %s', }
Instance Method Summary collapse
-
#initialize(msg, *args) ⇒ Error
constructor
A new instance of Error.