Exception: Tessera::TicketNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/tessera/utils/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(message, code) ⇒ TicketNotFound

Returns a new instance of TicketNotFound.



20
21
22
23
# File 'lib/tessera/utils/errors.rb', line 20

def initialize(message, code)
  msg = "ErrorCode: #{code} \nMessage: #{message}"
  super(msg)
end