Skip to content

Use of error #14

@zudov

Description

@zudov

Currently templatewill call anerrorif the template string is malformed, for error-handling there'stemplateSafethat returns anEither`.

I think it would be nicer if the library defined an error type (e.g. TemplateError) and template would throw that instead of an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions