Exception: Oxd::InvalidTicketError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/oxd/errors.rb

Overview

Error raised when oxd-server returns “invalid_ticket” error for the ‘uma_rp_get_rpt` command.

Instance Method Summary collapse

Constructor Details

#initialize(errorObj) ⇒ InvalidTicketError

Returns a new instance of InvalidTicketError.



12
13
14
15
# File 'lib/oxd/errors.rb', line 12

def initialize(errorObj)
	error_msg = "Invalid Ticket Error: #{errorObj['error_description']}"
  super(error_msg)
end