Exception: Imagga::ClientException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/imagga/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error_code) ⇒ ClientException

Returns a new instance of ClientException.



19
20
21
22
# File 'lib/imagga/exceptions.rb', line 19

def initialize(error_code)
  @error_code = error_code
  super
end

Instance Attribute Details

#error_codeObject

Returns the value of attribute error_code.



17
18
19
# File 'lib/imagga/exceptions.rb', line 17

def error_code
  @error_code
end