Skip to content

errors: add hints to solve the errors, if possible #2559

@ghost

Description

We can take as an example the way Elm handles errors in the compiler: https://elm-lang.org/news/compiler-errors-for-humans

DVC already does this in some extent but I'm sure there's room for improvement on this one.

Also, thinking about introducing another method for logger: hint, that will output something like:

ERROR: this stuff failed
HINT: you could try X or Y prevent this from happening

(HINT could be colored in purple)

Metadata

Metadata

Assignees

Labels

enhancementEnhances DVCp1-importantImportant, aka current backlog of things to douiuser interface / interaction

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions