Exception: Eco::API::Error::UnknownErrorClass
- Defined in:
- lib/eco/api/error.rb
Instance Method Summary collapse
-
#initialize(msg = nil, klass:) ⇒ UnknownErrorClass
constructor
A new instance of UnknownErrorClass.
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 |