diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-17 19:42:29 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-17 19:42:29 -0500 |
commit | 8249b28bea29e8ce17eac12776a60ec3f9e47176 (patch) | |
tree | 98318d7564b5f618cfb59e23cc6b918fcab88ee8 /include/fud_status.hpp | |
parent | b32e83ece42cec5aa9dee370bcdf349d23dbc8ba (diff) |
Rename InvalidInput to ArgumentInvalid.
Diffstat (limited to 'include/fud_status.hpp')
-rw-r--r-- | include/fud_status.hpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/fud_status.hpp b/include/fud_status.hpp index 5ebf229..bda646b 100644 --- a/include/fud_status.hpp +++ b/include/fud_status.hpp @@ -28,7 +28,8 @@ enum class [[nodiscard]] FudStatus ObjectInvalid, OperationInvalid, AllocFailure, - InvalidInput, + DeallocFailure, + ArgumentInvalid, Utf8Invalid, Failure, NotFound, @@ -58,8 +59,10 @@ constexpr const char* FudStatusToString(FudStatus status) return "OperationInvalid"; case FudStatus::AllocFailure: return "AllocFailure"; - case FudStatus::InvalidInput: - return "InvalidInput"; + case FudStatus::DeallocFailure: + return "DeallocFailure"; + case FudStatus::ArgumentInvalid: + return "ArgumentInvalid"; case FudStatus::Utf8Invalid: return "Utf8Invalid"; case FudStatus::Failure: |