Exception: Iriq::CLI::InputError
- Defined in:
- lib/iriq/cli.rb
Overview
Input iriq can't read. code is the JSON error envelope's code.
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ InputError
constructor
A new instance of InputError.
Constructor Details
#initialize(code, message) ⇒ InputError
189 190 191 192 |
# File 'lib/iriq/cli.rb', line 189 def initialize(code, ) super() @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
187 188 189 |
# File 'lib/iriq/cli.rb', line 187 def code @code end |