Exception: Imagga::ClientException
- Inherits:
-
StandardError
- Object
- StandardError
- Imagga::ClientException
- Defined in:
- lib/imagga/exceptions.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(error_code) ⇒ ClientException
constructor
A new instance of ClientException.
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_code ⇒ Object
Returns the value of attribute error_code.
17 18 19 |
# File 'lib/imagga/exceptions.rb', line 17 def error_code @error_code end |