Skip to content
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

Exceptions should be serializable, have standard constructors #1207

Open
yaakov-h opened this issue Mar 23, 2023 · 0 comments
Open

Exceptions should be serializable, have standard constructors #1207

yaakov-h opened this issue Mar 23, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@yaakov-h
Copy link
Member

Any custom exceptions defined and surface by SK2 should:

  1. Be serializable so that they can move on .NET Framework across AppDomain boundaries (CA2237)
  2. Contain standard constructors (CA1032, CA2229)
  3. Be public, so that consumers can construct their own instances e.g. for unit tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants