Skip to content

Improve WitException by generating custom exception Types#1108

Closed
jsturtevant wants to merge 1 commit intobytecodealliance:mainfrom
jsturtevant:improve-wit-exception
Closed

Improve WitException by generating custom exception Types#1108
jsturtevant wants to merge 1 commit intobytecodealliance:mainfrom
jsturtevant:improve-wit-exception

Conversation

@jsturtevant
Copy link
Collaborator

Potential solution to first part of #1042.

After working on this another option might be to make WitException take generic: WitException<T>. I don't know how common it is to throw exceptions with generics but this would have the advantage it would work with strings/int and other types as well.

Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
@jsturtevant
Copy link
Collaborator Author

/close in favor of #1109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant