mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 17:15:26 +00:00
Kernel: Make KString factories return KResultOr + use TRY() everywhere
There are a number of places that don't have an error propagation path right now, so I've added FIXME's about that.
This commit is contained in:
@@ -17,6 +17,6 @@ StringView basename(StringView const&);
|
||||
StringView dirname(StringView const&);
|
||||
Vector<StringView> parts(StringView const&);
|
||||
|
||||
OwnPtr<KString> try_join(StringView const&, StringView const&);
|
||||
KResultOr<NonnullOwnPtr<KString>> try_join(StringView const&, StringView const&);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user