Hubris Engine Dev
A Project to learn and get into Game Engine developement.
 
Loading...
Searching...
No Matches
Error.h File Reference
#include <type_traits>
+ Include dependency graph for Error.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Hubris
 The Hubris Engine main namespace.
 

Enumerations

enum class  Hubris::ErrorCode : uint32_t {
  Hubris::OK = 0 , Hubris::NOT_INITIALIZED = 1 << 0 , Hubris::INVALID_OPERATION = 1 << 1 , Hubris::UNSUPPORTED = 1 << 2 ,
  Hubris::NOT_IMPLEMENTED = 1 << 3 , Hubris::NO_MEMORY = 1 << 4 , Hubris::OUT_OF_RANGE = 1 << 5 , Hubris::INVALID_ARGUMENT = 1 << 6 ,
  Hubris::NOT_AVAILABLE = 1 << 7 , Hubris::NO_PERMISSION = 1 << 8 , Hubris::FATAL_ERROR = 1 << 9 , Hubris::NON_FATAL_ERROR = 1 << 10 ,
  Hubris::RUNTIME_ERROR = 1 << 11 , Hubris::OPERATION_FAILED = 1 << 12 , Hubris::CORE_ERROR = 1 << 13 , Hubris::INTERNAL_ERROR = 1 << 14 ,
  Hubris::UNKNOWN = 1 << 15 , Hubris::FAILED = 1 << 16
}
 

Functions

constexpr ErrorCode Hubris::operator| (ErrorCode lhs, ErrorCode rhs)
 
constexpr ErrorCodeHubris::operator|= (ErrorCode &lhs, ErrorCode rhs)
 
constexpr ErrorCode Hubris::operator& (ErrorCode lhs, ErrorCode rhs)
 
constexpr ErrorCodeHubris::operator&= (ErrorCode &lhs, ErrorCode rhs)
 
constexpr bool Hubris::operator! (ErrorCode e)
 
constexpr bool Hubris::HasError (ErrorCode combined, ErrorCode specific)