Skip to content

Custom errors from format checkers? #70

@gazpachoking

Description

@gazpachoking

I'm not sure if it would be a common enough use, but in my case I want custom error messages from format checkers. Wanted to see if this would be useful to support directly in jsonschema, or if I should just implement in my project.

Was thinking the checker functions could optionally raise a ValidationError that validate_format would then catch and yield.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementSome new desired functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions