Exception: Datashake::ReviewIndex::V1::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/datashake-ruby-sdk/review_index/v1/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, status) ⇒ Error

Returns a new instance of Error.



9
10
11
12
13
# File 'lib/datashake-ruby-sdk/review_index/v1/error.rb', line 9

def initialize(msg, status)
  @status = status

  super(msg)
end

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



7
8
9
# File 'lib/datashake-ruby-sdk/review_index/v1/error.rb', line 7

def status
  @status
end