Exception: Doorkeeper::Errors::InvalidTarget
- Inherits:
-
BaseResponseError
- Object
- StandardError
- DoorkeeperError
- BaseResponseError
- Doorkeeper::Errors::InvalidTarget
- Defined in:
- lib/doorkeeper/errors.rb
Overview
RFC 8707 error: the requested resource is invalid, missing, unknown, or malformed. Raised bare (no arguments) as a signal inside ResourceIndicatorValidator, then rescued and surfaced through the validation framework. Also raised with a response by ErrorResponse#raise_exception! so that controller rescue handlers can extract #response for translated error descriptions.
Instance Attribute Summary
Attributes inherited from BaseResponseError
Instance Method Summary collapse
-
#initialize(response = nil) ⇒ InvalidTarget
constructor
A new instance of InvalidTarget.
Methods inherited from BaseResponseError
Methods inherited from DoorkeeperError
Constructor Details
#initialize(response = nil) ⇒ InvalidTarget
Returns a new instance of InvalidTarget.
130 131 132 |
# File 'lib/doorkeeper/errors.rb', line 130 def initialize(response = nil) super end |