Exception: Flipper::Notifications::Webhooks::NetworkError
- Inherits:
-
ApiError
- Object
- StandardError
- ApiError
- Flipper::Notifications::Webhooks::NetworkError
- Defined in:
- lib/flipper/notifications/webhooks/errors.rb
Instance Method Summary collapse
-
#initialize(cause) ⇒ NetworkError
constructor
A new instance of NetworkError.
- #message ⇒ Object
Constructor Details
#initialize(cause) ⇒ NetworkError
Returns a new instance of NetworkError.
24 25 26 |
# File 'lib/flipper/notifications/webhooks/errors.rb', line 24 def initialize(cause) @cause = cause end |
Instance Method Details
#message ⇒ Object
28 29 30 |
# File 'lib/flipper/notifications/webhooks/errors.rb', line 28 def "Webhook API call network error: #{cause.class.name} - #{cause.message}" end |