Exception: HookBridge::NetworkError

Inherits:
Error
  • Object
show all
Defined in:
lib/hookbridge/errors.rb

Overview

Raised when a network error occurs

Instance Attribute Summary

Attributes inherited from Error

#code, #request_id, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = "Network error", **kwargs) ⇒ NetworkError

Returns a new instance of NetworkError.



63
64
65
# File 'lib/hookbridge/errors.rb', line 63

def initialize(message = "Network error", **kwargs)
  super(message, code: "NETWORK_ERROR", **kwargs)
end