Exception: Iriq::CLI::InputError

Inherits:
Error
  • Object
show all
Defined in:
lib/iriq/cli.rb

Overview

Input iriq can't read. code is the JSON error envelope's code.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, message) ⇒ InputError



189
190
191
192
# File 'lib/iriq/cli.rb', line 189

def initialize(code, message)
  super(message)
  @code = code
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



187
188
189
# File 'lib/iriq/cli.rb', line 187

def code
  @code
end