From 8249b28bea29e8ce17eac12776a60ec3f9e47176 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Thu, 17 Oct 2024 19:42:29 -0500 Subject: Rename InvalidInput to ArgumentInvalid. --- include/fud_status.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'include/fud_status.hpp') 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: -- cgit v1.2.3