Exception: Microsoft::Graph::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/microsoft/graph.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response = nil, _code = nil) ⇒ Error

Returns a new instance of Error.



86
87
88
89
# File 'lib/microsoft/graph.rb', line 86

def initialize(message, response = nil, _code = nil)
  @response = response
  super message
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



84
85
86
# File 'lib/microsoft/graph.rb', line 84

def response
  @response
end