Exception: EVSS::LoggedServiceException

Inherits:
ServiceException show all
Defined in:
lib/evss/logged_service_exception.rb

Direct Known Subclasses

PPIU::ServiceException

Instance Attribute Summary

Attributes inherited from ServiceException

#key, #messages

Instance Method Summary collapse

Methods inherited from Common::Exceptions::BaseError

#errors, #log_to_sentry?, #message, #sentry_type, #status_code

Constructor Details

#initialize(res_body, user, req_body = nil) ⇒ LoggedServiceException

Returns a new instance of LoggedServiceException.



7
8
9
10
11
# File 'lib/evss/logged_service_exception.rb', line 7

def initialize(res_body, user, req_body = nil)
  log_exception(res_body, user, req_body)

  super(res_body)
end