Exception: ComplyanceSDK::Exceptions::NetworkError

Inherits:
SDKException
  • Object
show all
Defined in:
lib/complyance_sdk/exceptions/sdk_exception.rb

Overview

Exception raised when a network error occurs

Instance Attribute Summary

Attributes inherited from SDKException

#code, #context, #suggestion

Instance Method Summary collapse

Methods inherited from SDKException

#to_h

Constructor Details

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

Returns a new instance of NetworkError.



58
59
60
# File 'lib/complyance_sdk/exceptions/sdk_exception.rb', line 58

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