Exception: Ecoportal::API::Common::ElasticApmIntegration::UnexpectedServerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ecoportal/api/common/elastic_apm_integration.rb

Instance Method Summary collapse

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