Exception: Poke::API::Errors::UnknownProtoFault
- Inherits:
-
StandardError
- Object
- StandardError
- Poke::API::Errors::UnknownProtoFault
- Defined in:
- lib/poke-api/errors.rb
Instance Method Summary collapse
-
#initialize(error) ⇒ UnknownProtoFault
constructor
A new instance of UnknownProtoFault.
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 |