Skip to content

Standardize error reporting  #79

@kdubb

Description

@kdubb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions