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

Standardize error reporting #79

Open
4 tasks
kdubb opened this issue Oct 17, 2023 · 0 comments
Open
4 tasks

Standardize error reporting #79

kdubb opened this issue Oct 17, 2023 · 0 comments

Comments

@kdubb
Copy link
Collaborator

kdubb commented Oct 17, 2023

Currently thrown errors are very "ad hoc". Shield needs to standardize error reporting and structures.

  • Common Protocol (e.g. ShieldError) that all error enums/structs implement.
  • Universally support NSUnderlyingErrorKey and/or NSMultipleUnderlyingErrorsKey
  • OSStatus check failures need to include the status as an underlying error.
  • CCStatus/CCCryptorStatus check failures need to include the status as an underlying error.
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

No branches or pull requests

1 participant