Exception: PublishingPlatformApi::BaseError
- Inherits:
-
StandardError
- Object
- StandardError
- PublishingPlatformApi::BaseError
- Defined in:
- lib/publishing_platform_api/exceptions.rb
Overview
Abstract error class
Direct Known Subclasses
EndpointNotFound, HTTPErrorResponse, InvalidUrl, PublishingApi::NoLiveVersion, SocketErrorException, TimedOutException
Instance Method Summary collapse
-
#sentry_context ⇒ Object
Give Sentry extra context about this event docs.sentry.io/clients/ruby/context/.
Instance Method Details
#sentry_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/publishing_platform_api/exceptions.rb', line 6 def sentry_context { # Make Sentry group exceptions by type instead of message, so all # exceptions like `PublishingPlatformApi::TimedOutException` will get grouped as one # error and not an error per URL. fingerprint: [self.class.name], } end |