Skip to content

Declare error exception or throw warning instead of just using error() #71

Description

@jolars

Consider this line:

error("coordinate descent failed to converge in $maxiter iterations at λ = ")

It would be much better and more kosher to use throw() along with a proper exception.

As an alternative, which I actually think makes more sense, you could just throw a warning instead.

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