Exception: ComplyanceSDK::Exceptions::ConfigurationError

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

Overview

Exception raised when the SDK is not configured

Instance Attribute Summary

Attributes inherited from SDKException

#code, #context, #suggestion

Instance Method Summary collapse

Methods inherited from SDKException

#to_h

Constructor Details

#initialize(message = "SDK is not configured", **kwargs) ⇒ ConfigurationError

Returns a new instance of ConfigurationError.



44
45
46
# File 'lib/complyance_sdk/exceptions/sdk_exception.rb', line 44

def initialize(message = "SDK is not configured", **kwargs)
  super(message, code: :configuration_error, **kwargs)
end