Class: Raven::RequestError
- Inherits:
-
Object
- Object
- Raven::RequestError
- Defined in:
- lib/rb_raven_api/request_error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(_message, _code, _path, _params) ⇒ RequestError
constructor
A new instance of RequestError.
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(, _code, _path, _params) # @private @message, @code, @path, @params = , _code, _path, _params end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
5 6 7 |
# File 'lib/rb_raven_api/request_error.rb', line 5 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/rb_raven_api/request_error.rb', line 5 def @message end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
5 6 7 |
# File 'lib/rb_raven_api/request_error.rb', line 5 def params @params end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
5 6 7 |
# File 'lib/rb_raven_api/request_error.rb', line 5 def path @path end |