mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 18:42:28 +00:00
21 lines
687 B
C++
21 lines
687 B
C++
#ifndef STORM_ERROR_ERROR_HPP
|
|
#define STORM_ERROR_ERROR_HPP
|
|
|
|
#include <cstdint>
|
|
|
|
#include "storm/error/Macro.hpp"
|
|
#include "storm/error/Codes.hpp"
|
|
|
|
[[noreturn]] void SErrDisplayAppFatal(const char* format, ...);
|
|
|
|
int32_t SErrDisplayError(uint32_t errorcode, const char* filename, int32_t linenumber, const char* description, int32_t recoverable, uint32_t exitcode, uint32_t a7);
|
|
|
|
int32_t SErrDisplayErrorFmt(uint32_t errorcode, const char* filename, int32_t linenumber, int32_t recoverable, uint32_t exitcode, const char* format, ...);
|
|
|
|
void SErrPrepareAppFatal(const char* filename, int32_t linenumber);
|
|
|
|
void SErrSetLastError(uint32_t errorcode);
|
|
|
|
uint32_t SErrGetLastError();
|
|
|
|
#endif
|