Exception: Eco::API::Error::UnknownErrorClass

Inherits:
StandardError
  • Object
show all
Defined in:
lib/eco/api/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil, klass:) ⇒ UnknownErrorClass

Returns a new instance of UnknownErrorClass.



6
7
8
9
# File 'lib/eco/api/error.rb', line 6

def initialize(msg = nil, klass:)
  msg ||= "Unknown api error class #{klass}"
  super(msg)
end