Exception: SonyCameraRemoteAPI::StandardErrorWithObj
- Inherits:
-
StandardError
- Object
- StandardError
- SonyCameraRemoteAPI::StandardErrorWithObj
- Defined in:
- lib/sony_camera_remote_api/error.rb
Overview
Base Error class having some information as object.
Direct Known Subclasses
APIForbidden, APINotAvailable, APINotSupported, IllegalArgument
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object = nil) ⇒ StandardErrorWithObj
constructor
A new instance of StandardErrorWithObj.
Constructor Details
#initialize(object = nil) ⇒ StandardErrorWithObj
Returns a new instance of StandardErrorWithObj.
17 18 19 |
# File 'lib/sony_camera_remote_api/error.rb', line 17 def initialize(object = nil) @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
16 17 18 |
# File 'lib/sony_camera_remote_api/error.rb', line 16 def object @object end |