mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:27:35 +00:00
Shell: Improve error propagation
This commit replaces 31 release_value_but_fixme_should_propagate_errors calls with TRYs. :^)
This commit is contained in:
parent
e89ba794d0
commit
e2f9011a8d
4 changed files with 40 additions and 45 deletions
|
@ -182,7 +182,7 @@ public:
|
|||
DeprecatedString prompt() const;
|
||||
|
||||
static DeprecatedString expand_tilde(StringView expression);
|
||||
static Vector<DeprecatedString> expand_globs(StringView path, StringView base);
|
||||
static ErrorOr<Vector<DeprecatedString>> expand_globs(StringView path, StringView base);
|
||||
static Vector<DeprecatedString> expand_globs(Vector<StringView> path_segments, StringView base);
|
||||
ErrorOr<Vector<AST::Command>> expand_aliases(Vector<AST::Command>);
|
||||
DeprecatedString resolve_path(DeprecatedString) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue