Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

[feat] Display a link to error details #8

@AsPulse

Description

@AsPulse

When a SugarFormError occurs, a link to the documentation is annexed. (after documentation is completed)

AsIs

> throw new SugarFormError('SF0001')
Uncaught SugarFormError: SF0001 (SugarFormTypeError)
Incorrect type detected.
This may be a bug in SugarForm itself, or you may be ignoring TypeScript instructions.

    at <anonymous>:2:7

ToBe

> throw new SugarFormError('SF0001')
Uncaught SugarFormError: SF0001 (SugarFormTypeError)
Incorrect type detected.
This may be a bug in SugarForm itself, or you may be ignoring TypeScript instructions.

See details: https://docs.sugarform.io/error/sf0001
    at <anonymous>:2:7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions