Exception: Poke::API::Errors::UnknownProtoFault

Inherits:
StandardError
  • Object
show all
Defined in:
lib/poke-api/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ UnknownProtoFault

Returns a new instance of UnknownProtoFault.



23
24
25
# File 'lib/poke-api/errors.rb', line 23

def initialize(error)
  super("An unknown proto fault has occured => [#{error} @ #{error.backtrace.first}]")
end