Exception: Byebug::DAP::InvalidRequestArgumentError Private
- Inherits:
-
StandardError
- Object
- StandardError
- Byebug::DAP::InvalidRequestArgumentError
- Defined in:
- lib/byebug/dap/helpers/invalid_request_argument_error.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Raised when the client sends a request with invalid arguments
Instance Attribute Summary collapse
-
#error ⇒ std:Symbol|std:String
readonly
private
The error kind or message.
-
#scope ⇒ Object
readonly
private
The error scope.
-
#value ⇒ Object
readonly
private
The error value.
Instance Method Summary collapse
-
#initialize(error, value: nil, scope: nil) ⇒ InvalidRequestArgumentError
constructor
private
A new instance of InvalidRequestArgumentError.
Constructor Details
#initialize(error, value: nil, scope: nil) ⇒ InvalidRequestArgumentError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of InvalidRequestArgumentError.
16 17 18 19 20 |
# File 'lib/byebug/dap/helpers/invalid_request_argument_error.rb', line 16 def initialize(error, value: nil, scope: nil) @error = error @value = value @scope = scope end |
Instance Attribute Details
#error ⇒ std:Symbol|std:String (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The error kind or message.
8 9 10 |
# File 'lib/byebug/dap/helpers/invalid_request_argument_error.rb', line 8 def error @error end |
#scope ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The error scope.
14 15 16 |
# File 'lib/byebug/dap/helpers/invalid_request_argument_error.rb', line 14 def scope @scope end |
#value ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The error value.
11 12 13 |
# File 'lib/byebug/dap/helpers/invalid_request_argument_error.rb', line 11 def value @value end |