Exception: GdsApi::BaseError
- Inherits:
-
StandardError
- Object
- StandardError
- GdsApi::BaseError
- Defined in:
- lib/gds_api/exceptions.rb
Overview
Abstract error class
Direct Known Subclasses
ContentStore::UnresolvedRedirect, EndpointNotFound, HTTPErrorResponse, InvalidUrl, PerformancePlatformDatasetNotConfigured, PublishingApi::NoLiveVersion, SocketErrorException, TimedOutException
Instance Method Summary collapse
-
#raven_context ⇒ Object
Give Sentry extra context about this event docs.sentry.io/clients/ruby/context/.
Instance Method Details
#raven_context ⇒ Object
Give Sentry extra context about this event docs.sentry.io/clients/ruby/context/
6 7 8 9 10 11 12 13 |
# File 'lib/gds_api/exceptions.rb', line 6 def raven_context { # Make Sentry group exceptions by type instead of message, so all # exceptions like `GdsApi::TimedOutException` will get grouped as one # error and not an error per URL. fingerprint: [self.class.name], } end |