Skip to content

feat(oaf-validation-exception): added throwables oneof/anyof validation failures#70

Merged
asadali214 merged 4 commits intomainfrom
69-oneofanyof-validation-exceptions
May 25, 2023
Merged

feat(oaf-validation-exception): added throwables oneof/anyof validation failures#70
asadali214 merged 4 commits intomainfrom
69-oneofanyof-validation-exceptions

Conversation

@asadali214
Copy link
Copy Markdown
Collaborator

@asadali214 asadali214 commented May 23, 2023

This PR adds:

  • OneOfValidationException class extending IOException
  • AnyOfValidationException class extending IOException
  • Unit tests for the newly created exceptions coverage
  • Added type in TypeCombinatorCase annotations to determine the encapsulated type in Container

Closes #69

@asadali214 asadali214 added the enhancement New feature or request label May 23, 2023
@asadali214 asadali214 requested a review from sufyankhanrao May 23, 2023 12:53
@asadali214 asadali214 self-assigned this May 23, 2023
Copy link
Copy Markdown
Collaborator

@sufyankhanrao sufyankhanrao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@asadali214 asadali214 merged commit 0ce226b into main May 25, 2023
@asadali214 asadali214 deleted the 69-oneofanyof-validation-exceptions branch May 25, 2023 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Throw OneOf/AnyOf Validation exceptions instead of regular IO Exceptions

2 participants