mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibCore: Make Core::File::open() return OSError in case of failure
This commit is contained in:
parent
1474a537b6
commit
13f4890c38
Notes:
sideshowbarker
2024-07-18 05:27:35 +09:00
Author: https://github.com/awesomekling
Commit: 13f4890c38
8 changed files with 15 additions and 15 deletions
|
@ -51,7 +51,7 @@ Result<bool, String> Workbook::load(const StringView& filename)
|
|||
sb.append("Failed to open ");
|
||||
sb.append(filename);
|
||||
sb.append(" for reading. Error: ");
|
||||
sb.append(file_or_error.error());
|
||||
sb.append(file_or_error.error().string());
|
||||
|
||||
return sb.to_string();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue