diff options
Diffstat (limited to 'source/fud_directory.cpp')
-rw-r--r-- | source/fud_directory.cpp | 2 |
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()) { |