OIC provides two out of the box features to handle exceptions.
- Scope Handler:
Click here oic-scope-level-error-handling for POC.
- Global Fault Handler:
The Global fault handler is super catch block which handle all the errors which are not supported by scope handlers. This functionality enables you to direct business faults to the caller or apply business logic before sending faults to the error handling framework. you can add fault handling to any integration type.
Click here oic-global-fault-handling-in-app-driven for POC.
No comments:
Post a Comment