Exception: SonyCameraRemoteAPI::StandardErrorWithObj

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sony_camera_remote_api/error.rb

Overview

Base Error class having some information as object.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#objectObject (readonly)

Returns the value of attribute object.



16
17
18
# File 'lib/sony_camera_remote_api/error.rb', line 16

def object
  @object
end