Skip to content

Refactor error handling to use thiserror exclusively (remove anyhow) #1206

@7h3cyb3rm0nk

Description

@7h3cyb3rm0nk

The codebase currently uses both anyhow and thiserror for error handling. While anyhow is convenient for applications, thiserror provides better type safety, explicit error variants, and improved maintainability.

consider:

  • Refactoring all anyhow usage to thiserror.
  • Defining custom error types derived via thiserror in relevant modules

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