Skip to content

Deprecate name and message options of assert and ensure #125

Open
@lambdalisue

Description

@lambdalisue

If @core/errorutil offers error alteration functions as proposed in jsr-core/errorutil#3, I believe we can deprecate the name and message options in assert and ensure.

I'd like to deprecate these options due to issue #121. Additionally, I'd like to deprecate setAssertMessageFactory (and its related functions) to simplify the overall implementation.

Before proceeding, I'd like to gauge how many users currently rely on these functionalities and whether they are open to migrating their code to the solution mentioned in the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions