Skip to content

Enrich error messages #10

@francesconi

Description

@francesconi

Any chance you could extend MessageValidator with a function where I can set a custom error instead of just a string? So in addition to .Msg(s string) something like .Err(err error)? My errors contain additional information which would allow me further processing after validation.

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