Error Code and Message no Propagated to Flutter Wrapper
muruthi opened this issue · 0 comments
muruthi commented
Describe the bug
If I come across an error accessing one of CP APIs, an error code and error message from the Kernel should be propagated to the CPK
To Reproduce
Steps to reproduce the behavior:
- Use the saveBiometricConsent API with the wrong programGUID
- Call the API.
- You will get a Platform Exception on the catch block.
- The exception contains a code and message that do not align to the Kernel.
Expected behavior
The code and error should be consistent to the Kernel errors.