Code

History

Commits on ig/docs-commitid to cli/src/command_error.rs105+
  1. backend: add error variant for access denied, handle when diffingMartin von Zweigbergk committed 2 years ago404f31c
  2. fileset: replace `FilesetParseContext` by `RepoPathUiConverter`Martin von Zweigbergk committed 2 years ago058461e
  3. repo_path: add type for formatting and parsing `RepoPath`, use in CLIMartin von Zweigbergk committed 2 years ago3b70225
  4. diff_util: remove CommandError dependency from show functionsYuya Nishihara committed 2 years agof614c96
  5. External merge tools: better error message for unsupported usageIlya Grigoriev committed 2 years ago04158c3
  6. cli: show hint for inner fileset/revset/template errorsYuya Nishihara committed 2 years agof1fd1d8
  7. cli: extract functions that map fileset/revset/template errors to hintsYuya Nishihara committed 2 years ago34fce3c
  8. revset: add two new error variants to support extensionsdploch committed 2 years agocf78532
  9. cli: improve `snapshot.max-new-file-size` error messageAustin Seipp committed 2 years ago1d99ff6
  10. cli: suggest root:"<path>" if cwd-relative path is not in workspaceYuya Nishihara committed 2 years ago18f94bb
  11. cli: add fileset utility functions and debug commandYuya Nishihara committed 2 years ago05b0fb5
  12. cli: add support for file kind:pattern syntaxYuya Nishihara committed 2 years ago07d0271
  13. errors: don't use the `ui.hint*()` helpersMartin von Zweigbergk committed 2 years agob940f1a
  14. cli: render string pattern suggestion as a hintYuya Nishihara committed 2 years agoa6615bf
  15. tree: flatten TreeMergeError into BackendErrorYuya Nishihara committed 2 years ago73b6090
  16. git_backend: classify "merge with root" as user errorYuya Nishihara committed 2 years agof20004f
  17. cli: extract CommandError::with_message() constructorYuya Nishihara committed 2 years ago91ff1fd
  18. revset, templater: include short parse error description in summary lineYuya Nishihara committed 2 years ago074e6e1
  19. revset, templater: render parse error as usual error chainYuya Nishihara committed 2 years ago2cd70bd
  20. cli: add support for formatted error hintsYuya Nishihara committed 2 years ago1061c91
  21. cli: highlight error source headers as wellYuya Nishihara committed 2 years agoa25cac7
  22. cli: add convenient methods to print hint or warning with default headingsYuya Nishihara committed 2 years agobd3d930
  23. cli: highlight "Error: " headingsYuya Nishihara committed 2 years ago2e91146
  24. cli: highlight "Hint: " headingYuya Nishihara committed 2 years ago78ce9ea
  25. cli: remove less-frequently-used user_error factoriesYuya Nishihara committed 2 years agob77a110
  26. cli: allow to attach multiple hints to CommandErrorYuya Nishihara committed 2 years ago2523dc1
  27. cli: extract helper that prints error message, sources, and hintYuya Nishihara committed 2 years agobb0dcc0
  28. cli: reorganize CommandError as (kind, err, hint) tupleYuya Nishihara committed 2 years agoaeb3470
  29. cli: extract clap::Error handling to functionYuya Nishihara committed 2 years ago7a2077a
  30. cli: add more CommandError factory functions, consolidate inner typeYuya Nishihara committed 2 years agoc333481
  31. cli: don't bury GitImportError sourcesYuya Nishihara committed 2 years ago429cdb3
  32. cli: extract function that stringifies RevsetParseErrorYuya Nishihara committed 2 years ago78104b5
  33. cli: remove CommandError dependency from revset_util::evaluate()Yuya Nishihara committed 2 years ago34eb446
  34. repo_path: show more detailed error if filesystem path failed to parseYuya Nishihara committed 2 years agoa224d0f
  35. cli: enrich the error about required template value with a hintAleksey Kuznetsov committed 2 years ago38d14ea