Skip to content

Use custom concrete error types #49

@kamiyaa

Description

@kamiyaa

I haven't used anyhow much myself, but from what I read online, I think it makes more sense to have custom error types as a library.

I think it should also help with

  • more concise errors
  • easier mocking (at least for coral)
    • being able to create tests for all possible errors returned from secure-signer

https://www.reddit.com/r/rust/comments/gqe57x/what_are_you_using_for_error_handling/

Metadata

Metadata

Assignees

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