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.
16 17 18 19 |
# File 'lib/imagga/exceptions.rb', line 16 def initialize(error_code) @error_code = error_code super end |
Instance Attribute Details
#error_code ⇒ Object
Returns the value of attribute error_code.
15 16 17 |
# File 'lib/imagga/exceptions.rb', line 15 def error_code @error_code end |