Exception: Oxd::InvalidRequestError
- Inherits:
-
StandardError
- Object
- StandardError
- Oxd::InvalidRequestError
- Defined in:
- lib/oxd/errors.rb
Overview
Error raised when UMA RP does an ‘uma_rp_check_access` on unprotected resource and the oxd server returns ’invalid_request’ response.
Instance Method Summary collapse
-
#initialize(errorObj) ⇒ InvalidRequestError
constructor
A new instance of InvalidRequestError.
Constructor Details
#initialize(errorObj) ⇒ InvalidRequestError
Returns a new instance of InvalidRequestError.
28 29 30 31 |
# File 'lib/oxd/errors.rb', line 28 def initialize(errorObj) error_msg = "Invalid Request Error: #{errorObj['error_description']}" super(error_msg) end |