Skip to content

Add documentation links and helpful descriptions to error messages #606

Open

Description

@0x2b3bfa0

p1

The following have recently been documented in https://cml.dev/doc, but should also have better CLI errors pointing to said docs:

p2

See also

try {
  operation();
} catch (error) {
  if (error.message === 'Obscure error')
    error.message += ', please try toggling the "more magic" switch';
  throw error;
}

Activity

  1. added
    enhancement
    ui/ux
    on Jun 22, 2021
  2. 0x2b3bfa0 commented on Jun 22, 2021

    @0x2b3bfa0
    Author
  3. changed the title [-]Consider adding links to error messages for easier troubleshooting[/-] [+]Add documentation links and helpful messages to errors for easier troubleshooting[/+] on Jul 1, 2021
  4. changed the title [-]Add documentation links and helpful messages to errors for easier troubleshooting[/-] [+]Add documentation links and helpful descriptions to error messages[/+] on Jul 1, 2021
  5. casperdcl commented on Jul 1, 2021

    @casperdcl
    Contributor

    Also

    super minor: maybe newline instead of ', '

  6. added
    epic
    documentation
    and removed
    enhancement
    on Jul 7, 2021
  7. casperdcl commented on Oct 1, 2021

    @casperdcl
    Contributor

    Now that we have iterative/cml.dev#112, can we also add a https://cml.dev/doc/ref/subcommand link to all subcommand --help output like DVC does? #1222

    Meanwhile error messages can link to subsections of the command reference for elucidation.

  8. added
    technical-debt
    and removed
    epic
    on Oct 1, 2021
  9. added
    epic
    on Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationepictechnical-debtui/ux

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions