Exception: Nexus::Invision::Errors::BadRequest
- Inherits:
-
ClientError
- Object
- StandardError
- ClientError
- Nexus::Invision::Errors::BadRequest
- Extended by:
- T::Sig
- Defined in:
- lib/nexus/invision/errors/bad_request.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Attributes inherited from ClientError
Instance Method Summary collapse
-
#initialize(message, code, env) ⇒ BadRequest
constructor
A new instance of BadRequest.
Constructor Details
#initialize(message, code, env) ⇒ BadRequest
Returns a new instance of BadRequest.
17 18 19 20 |
# File 'lib/nexus/invision/errors/bad_request.rb', line 17 def initialize(, code, env) super(, env) @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
14 15 16 |
# File 'lib/nexus/invision/errors/bad_request.rb', line 14 def code @code end |