Exception: ErpIntegration::BadConfiguration

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

Overview

The ‘ErpIntegration::BadConfiguration` is raised whenever the newly provided configuration is not a valid configuration object.

Instance Method Summary collapse

Constructor Details

#initializeBadConfiguration

Returns a new instance of BadConfiguration.



11
12
13
14
15
16
17
# File 'lib/erp_integration/errors.rb', line 11

def initialize
  super(
    '[ERP Integration] The provided configuration object is not a ' \
      'ErpIntegration::Configuration instance. Please provide a '  \
      'ErpIntegration::Configuration instance when overriding the configuration directly.'
  )
end