-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
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
Follow MS guidelines for custom exception types. #826
Conversation
8f53b14
to
bf89bf4
Compare
@paulushub - I've removed |
@mrbean-bremen Thank you, the |
bf89bf4
to
d90df98
Compare
Ah right, thanks - missed this. Fixed now. |
You are on fire! you are sure you do not want to also revert the decision on contribution? 😄 |
Quite sure 😁 |
- make custom exception types serializable.
d90df98
to
95b1077
Compare
… exception types serializable.
… custom exception types serializable.
Reference Issue
No existing recorded issue.
What does this implement/fix? Explain your changes.
If using this SVG library within a .Net framework AppDomain, exceptions must be serializable to cross AppDomain boundaries.
In addition, implement common exception constructors, in line with guidance at https://docs.microsoft.com/en-us/dotnet/standard/exceptions/best-practices-for-exceptions