Exception: Ecoportal::API::Common::Client::Error::UnexpectedServerError
- Inherits:
-
StandardError
- Object
- StandardError
- Ecoportal::API::Common::Client::Error::UnexpectedServerError
- Defined in:
- lib/ecoportal/api/common/client/error.rb
Instance Method Summary collapse
-
#initialize(msg, code:) ⇒ UnexpectedServerError
constructor
A new instance of UnexpectedServerError.
Constructor Details
#initialize(msg, code:) ⇒ UnexpectedServerError
Returns a new instance of UnexpectedServerError.
9 10 11 |
# File 'lib/ecoportal/api/common/client/error.rb', line 9 def initialize(msg, code:) super("Code: #{code} -- Error: #{msg}") end |