mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
feat(storm): reorganized error library, assertions are now more detailed across different platforms; added new macros STORM_VALIDATE_STRING and STORM_PANIC
This commit is contained in:
parent
d149081f4e
commit
4f32840fdf
13 changed files with 164 additions and 103 deletions
16
storm/error/Codes.hpp
Normal file
16
storm/error/Codes.hpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef STORM_ERROR_CODES_HPP
|
||||
#define STORM_ERROR_CODES_HPP
|
||||
|
||||
#if defined(WHOA_SYSTEM_WIN)
|
||||
#include "storm/error/win/Codes.hpp"
|
||||
#endif
|
||||
|
||||
#if defined(WHOA_SYSTEM_MAC) || defined(WHOA_SYSTEM_LINUX)
|
||||
#include "storm/error/unix/Codes.hpp"
|
||||
#endif
|
||||
|
||||
#include "storm/error/Macro.hpp"
|
||||
|
||||
#define STORM_ERROR_APPLICATION_FATAL STORM_ERROR(0x84)
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue