Code

History

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