Exception: Doorkeeper::Errors::InvalidTarget

Inherits:
BaseResponseError show all
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

#response

Instance Method Summary collapse

Methods inherited from BaseResponseError

name_for_response

Methods inherited from DoorkeeperError

translate_options, #type

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