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 /source/fud_sqlite.cpp | |
parent | b32e83ece42cec5aa9dee370bcdf349d23dbc8ba (diff) |
Rename InvalidInput to ArgumentInvalid.
Diffstat (limited to 'source/fud_sqlite.cpp')
-rw-r--r-- | source/fud_sqlite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fud_sqlite.cpp b/source/fud_sqlite.cpp index e13feee..735389f 100644 --- a/source/fud_sqlite.cpp +++ b/source/fud_sqlite.cpp @@ -140,7 +140,7 @@ FudStatus SqliteDb::initialize() m_nameValid = m_name.utf8Valid(); if (!m_nameValid) { - return FudStatus::InvalidInput; + return FudStatus::ArgumentInvalid; } m_errorCode = open(); @@ -178,7 +178,7 @@ SqliteStatement::SqliteStatement(const SqliteDb& sqliteDb, const String& input) } if (!input.utf8Valid() || input.length() > INT_MAX) { - m_status = FudStatus::InvalidInput; + m_status = FudStatus::ArgumentInvalid; return; } |