Exception: EVSS::ErrorMiddleware::EVSSError
- Inherits:
-
StandardError
- Object
- StandardError
- EVSS::ErrorMiddleware::EVSSError
- Defined in:
- lib/evss/error_middleware.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#details ⇒ Object
readonly
Returns the value of attribute details.
Instance Method Summary collapse
-
#initialize(message = nil, details = nil, body = nil) ⇒ EVSSError
constructor
A new instance of EVSSError.
Constructor Details
#initialize(message = nil, details = nil, body = nil) ⇒ EVSSError
Returns a new instance of EVSSError.
10 11 12 13 14 |
# File 'lib/evss/error_middleware.rb', line 10 def initialize( = nil, details = nil, body = nil) super() @details = details @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
8 9 10 |
# File 'lib/evss/error_middleware.rb', line 8 def body @body end |
#details ⇒ Object (readonly)
Returns the value of attribute details.
8 9 10 |
# File 'lib/evss/error_middleware.rb', line 8 def details @details end |