Code

History

Commits on ig/vimdiffwarn to cli/src/command_error.rs97
  1. cli: add support for file kind:pattern syntaxYuya Nishihara committed 2 years ago07d0271
  2. errors: don't use the `ui.hint*()` helpersMartin von Zweigbergk committed 2 years agob940f1a
  3. cli: render string pattern suggestion as a hintYuya Nishihara committed 2 years agoa6615bf
  4. tree: flatten TreeMergeError into BackendErrorYuya Nishihara committed 2 years ago73b6090
  5. git_backend: classify "merge with root" as user errorYuya Nishihara committed 2 years agof20004f
  6. cli: extract CommandError::with_message() constructorYuya Nishihara committed 2 years ago91ff1fd
  7. revset, templater: include short parse error description in summary lineYuya Nishihara committed 2 years ago074e6e1
  8. revset, templater: render parse error as usual error chainYuya Nishihara committed 2 years ago2cd70bd
  9. cli: add support for formatted error hintsYuya Nishihara committed 2 years ago1061c91
  10. cli: highlight error source headers as wellYuya Nishihara committed 2 years agoa25cac7
  11. cli: add convenient methods to print hint or warning with default headingsYuya Nishihara committed 2 years agobd3d930
  12. cli: highlight "Error: " headingsYuya Nishihara committed 2 years ago2e91146
  13. cli: highlight "Hint: " headingYuya Nishihara committed 2 years ago78ce9ea
  14. cli: remove less-frequently-used user_error factoriesYuya Nishihara committed 2 years agob77a110
  15. cli: allow to attach multiple hints to CommandErrorYuya Nishihara committed 2 years ago2523dc1
  16. cli: extract helper that prints error message, sources, and hintYuya Nishihara committed 2 years agobb0dcc0
  17. cli: reorganize CommandError as (kind, err, hint) tupleYuya Nishihara committed 2 years agoaeb3470
  18. cli: extract clap::Error handling to functionYuya Nishihara committed 2 years ago7a2077a
  19. cli: add more CommandError factory functions, consolidate inner typeYuya Nishihara committed 2 years agoc333481
  20. cli: don't bury GitImportError sourcesYuya Nishihara committed 2 years ago429cdb3
  21. cli: extract function that stringifies RevsetParseErrorYuya Nishihara committed 2 years ago78104b5
  22. cli: remove CommandError dependency from revset_util::evaluate()Yuya Nishihara committed 2 years ago34eb446
  23. repo_path: show more detailed error if filesystem path failed to parseYuya Nishihara committed 2 years agoa224d0f
  24. cli: enrich the error about required template value with a hintAleksey Kuznetsov committed 2 years ago38d14ea
  25. cli: translate last-minute EPIPE internally in handle_command_result()Yuya Nishihara committed 2 years agof76830a
  26. cli: move handle_command_result() to command_error module, make it less publicYuya Nishihara committed 2 years agoed1d2fd
  27. cli: extract CommandError and helper functions to new moduleYuya Nishihara committed 2 years ago97024e5