Skip to content

lazy errors #128

Closed
Closed
@jamesdbrock

Description

@jamesdbrock

We should probably change all error messages to be lazy like this with defer.

I chose to make error messages deferred to avoid the cost of generating the error messages until they're needed. Feels like a small thing, but the waste just bothers me too much.

Originally posted by @fsoikin in #127 (comment)

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