Aether3D Game Engine
Errors.hpp
1 #ifndef ERRORS_H
2 #define ERRORS_H
3 
4 namespace Error
5 {
7  enum Enum
8  {
9  NO_ERRORS = 0,
10  DLL_NOT_FOUND,
11  UNSUPPORTED_RENDERER, // GPU driver does not support requested renderer.
12  FACTORY_NOT_FOUND, // Create*() is missing/not exported from DLL.
13  DLL_VERSION_MISMATCH, // Include folder headers's version does not match those used to compile DLL.
14  CONTRACT_VIOLATION, // Method does not do what it is meant to do.
15  SHADER_NOT_FOUND, // Shader source file not found.
16  VERTEX_SHADER_COMPILE_FAILED, // Shader compile failed.
17  FRAGMENT_SHADER_COMPILE_FAILED, // Shader compile failed.
18  GEOMETRY_SHADER_COMPILE_FAILED, // Shader compile failed.
19  SHADER_LINK_FAILED, // Linking failed.
20  FILE_NOT_FOUND, // File not found.
21  CORRUPTED_DATA, // Corrupted data.
22  OUT_OF_MEMORY, // Out of memory.
23  TOO_MANY_JOINTS, // Too many joints.
24  COMPUTE_SHADER_COMPILE_FAILED, // Compile shader compile failed.
25  GENERIC,
26  count
27  };
28 }
29 
30 #endif
Definition: Errors.hpp:4