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