IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
error_codes.hxx File Reference
#include <ice/error.hxx>

Go to the source code of this file.

Namespaces

namespace  ice
 SPDX-License-Identifier: MIT.

Variables

static constexpr ice::ErrorCodeSuccess ice::S_Ok { "S.0000:General:Success" }
static constexpr ice::ErrorCodeSuccess ice::S_Success = S_Ok
static constexpr ice::ErrorCodeError ice::E_Fail { "E.0001:General:Unknown error" }
static constexpr ice::ErrorCodeError ice::E_Error = E_Fail
static constexpr ice::ErrorCode ice::E_InvalidArgument { "E.0002:General:Invalid argument provided" }
static constexpr ice::ErrorCode ice::E_OutOfRange { "E.0003:General:Accessing value out of range" }
static constexpr ice::ErrorCode ice::E_NotImplemented { "E.0004:General:Function or method is not implemented" }
static constexpr ice::ErrorCode ice::E_NullPointer { "E.0005:General:Passed '{nullptr}' to function expecting valid pointer." }
static constexpr ice::ErrorCode ice::E_NullPointerData { "E.0006:General:Passed 'Data{nullptr}' object to function expecting valid data." }
static constexpr ice::ErrorCode ice::E_NullPointerMemory { "E.0007:General:Passed 'Memory{nullptr}' object to function expecting valid memory." }
static constexpr ice::ErrorCode ice::E_TaskCanceled { "E.1001:Tasks:Task canceled" }