We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebAssembly
Currently if you want to create exceptions for unit tests, when you are using WebAssembly library, you have to do the following:
public static TheoryData CriticalDependencyExceptions() { string someMessage = GetRandomMessage(); var someResponseMessage = new HttpResponseMessage(); return new TheoryData<Xeption>() { new HttpResponseUrlNotFoundException( someResponseMessage, someMessage), new HttpResponseUnauthorizedException( someResponseMessage, someMessage), new HttpResponseForbiddenException( someResponseMessage, someMessage) }; }
At the same time Core project made it easier to create the above exceptions without response message and message.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Currently if you want to create exceptions for unit tests, when you are using
WebAssembly
library, you have to do the following:At the same time Core project made it easier to create the above exceptions without response message and message.
The text was updated successfully, but these errors were encountered: