concerto
concerto copied to clipboard
Added error codes to property validation errors
Closes #834
- removed plain error and added IllegalModelException and TypeNotFoundException
Author Checklist
- [x] Ensure you provide a DCO sign-off for your commits using the
--signoff
option of git commit. - [ ] Vital features and changes captured in unit and/or integration tests
- [ ] Commits messages follow AP format
- [ ] Extend the documentation, if necessary
- [ ] Merging to
main
fromfork:branchname
What type of exception is this one? will it be falling under base exception @ekarademir
https://github.com/accordproject/concerto/blob/abd1c8ee15711ba0cea99a2476fbf01650a05fd4/packages/concerto-core/lib/introspect/property.js#L181-L184
Usually IllegalModelException
What type of exception is this one? will it be falling under base exception @ekarademir https://github.com/accordproject/concerto/blob/abd1c8ee15711ba0cea99a2476fbf01650a05fd4/packages/concerto-core/lib/introspect/property.js#L181-L184
Usually
IllegalModelException
Okay, Hey have added that. Can. you once review this and give me some feedback.