Exception: Oxd::InvalidRequestError

Inherits:
StandardError
  • Object
show all
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

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