When enrollment is in pending/denied state, we get the same error code from server
E.g
error:AT0401-Exception: enrollment id: 8d2b8340-c47b-4886-828e-ac6b14e8165b is not approved
Add a different error code which will help to differentiate error for pending vs denied enrollment
Describe the bug
When enrollment is in pending/denied state, we get the same error code from server E.g error:AT0401-Exception: enrollment id: 8d2b8340-c47b-4886-828e-ac6b14e8165b is not approved
Add a different error code which will help to differentiate error for pending vs denied enrollment
Steps to reproduce
Expected behavior