Right now, this exception is being handled on the PAC CLI by being a generic exception with "Assertion failed" appended to it. However, we want the PAC CLI to be able to identify it by the exception, not by the string. In addition, after localization, this may fail. This is also coupling the two code-bases together.
Checklist
[x] The code change is covered by unit tests. I have added tests that prove my fix is effective or that my feature works
[x] I have performed end-to-end test locally.
[x] New and existing unit tests pass locally with my changes
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
Description
Right now, this exception is being handled on the PAC CLI by being a generic exception with "Assertion failed" appended to it. However, we want the PAC CLI to be able to identify it by the exception, not by the string. In addition, after localization, this may fail. This is also coupling the two code-bases together.
Checklist