Exception: Service::Client::ServiceError

Inherits:
Error
  • Object
show all
Defined in:
lib/service-client/service_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ ServiceError

Returns a new instance of ServiceError.



4
5
6
7
# File 'lib/service-client/service_error.rb', line 4

def initialize(error)
  super(error)
  @error = error
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



2
3
4
# File 'lib/service-client/service_error.rb', line 2

def error
  @error
end