Skip to content

Convert code base to Error/ErrorKind pattern #277

@gburd

Description

@gburd

mozilla#730 did heroic work to convert from error-chain to failure, but our initial consumer (a logins API that consumes Mentat and is in turn consumed by applications like Mozilla Lockbox) is finding that returning failure::Error isn't very helpful. It looks like we'll need to adopt the Error/ErrorKind pattern from https://github.com/withoutboats/failure/blob/868273409c826755812dbff1b67cc0ac3fa702f7/book/src/error-errorkind.md.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions