Skip to content

[workspace] Examine Option / bool return types #2610

@clabby

Description

@clabby

Overview

In a few areas around the codebase, we're returning Options and bools for functions that deserve a typed error. We should examine the interfaces of mailboxes, etc. to find places where we should add descriptive errors.

Note that all Errors are Debug + Display, so these can still be type-erased to Strings to avoid generic hell in thiserror-style error nesting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    to-considerFurther consideration is needed whether this should be implemented

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions