Exception and Fault Framework in ERP Integration Service
Exceptions are errors that occur at run time. The client process can catch these exceptions and act on it based on error conditions and retry. When invoking ERP Cloud Integration Services, there are two types of errors:
- Client errors as a result of payload not structured properly, required parameters not defined, incorrect credentials, etc.
- Server errors as a result of invalid payload data, user privilege issue, internal server issues, etc. and these are explicitly thrown as faults from the service layer.
Structure of Exception Payload
In ERP integration services, the exception framework is based on these two schemas: