Exception: AsposeImagingCloud::ApiError
- Inherits:
-
StandardError
- Object
- StandardError
- AsposeImagingCloud::ApiError
- Defined in:
- lib/aspose-imaging-cloud/api_error.rb
Overview
Imaging API Exception
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message, code, error = nil) ⇒ ApiError
constructor
Initializes a new instance of the ApiError class.
Constructor Details
#initialize(message, code, error = nil) ⇒ ApiError
Initializes a new instance of the ApiError class
36 37 38 39 40 |
# File 'lib/aspose-imaging-cloud/api_error.rb', line 36 def initialize(, code, error = nil) @message = @code = code @error = error end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
30 31 32 |
# File 'lib/aspose-imaging-cloud/api_error.rb', line 30 def code @code end |
#error ⇒ Object (readonly)
Returns the value of attribute error.
30 31 32 |
# File 'lib/aspose-imaging-cloud/api_error.rb', line 30 def error @error end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
30 31 32 |
# File 'lib/aspose-imaging-cloud/api_error.rb', line 30 def @message end |