summaryrefslogtreecommitdiff
path: root/source/fud_directory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/fud_directory.cpp')
-rw-r--r--source/fud_directory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fud_directory.cpp b/source/fud_directory.cpp
index 318d7e6..f46d530 100644
--- a/source/fud_directory.cpp
+++ b/source/fud_directory.cpp
@@ -90,7 +90,7 @@ Result<Directory, FudStatus> Directory::make(const String& name)
using RetType = Result<Directory, FudStatus>;
Directory directory{};
if (!name.valid()) {
- return RetType::error(FudStatus::InvalidInput);
+ return RetType::error(FudStatus::ArgumentInvalid);
}
if (!name.utf8Valid()) {