Code

History

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t