Class: Raven::RequestError

Inherits:
Object
  • Object
show all
Defined in:
lib/rb_raven_api/request_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_message, _code, _path, _params) ⇒ RequestError

Returns a new instance of RequestError.



7
8
9
# File 'lib/rb_raven_api/request_error.rb', line 7

def initialize(_message, _code, _path, _params) # @private
  @message, @code, @path, @params = _message, _code, _path, _params
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



5
6
7
# File 'lib/rb_raven_api/request_error.rb', line 5

def code
  @code
end

#messageObject (readonly)

Returns the value of attribute message.



5
6
7
# File 'lib/rb_raven_api/request_error.rb', line 5

def message
  @message
end

#paramsObject (readonly)

Returns the value of attribute params.



5
6
7
# File 'lib/rb_raven_api/request_error.rb', line 5

def params
  @params
end

#pathObject (readonly)

Returns the value of attribute path.



5
6
7
# File 'lib/rb_raven_api/request_error.rb', line 5

def path
  @path
end