Skip to content

Consider support error type #8

@poef

Description

@poef

Many online systems require non ambiguous errors that are also machine readable. See for example: https://www.rfc-editor.org/rfc/rfc7807.html
If jsontag had such a type, this would ease parsing error results.

Errors often have extra details, so it should extend the JSON object type, e.g:

<error>{
  "message": "The error message"
}

The error object may be extended with extra properties, only the "message" property is required.

This will be the first tag/type to extend the object type, so it will impact the parser code a bit more than other types.

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