aboutsummaryrefslogtreecommitdiff
path: root/zencore/except.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Converted use of _format UDL to fmt::formatMartin Ridgers2022-01-101-2/+1
|
* Turn all ThrowLastError() sites in source_location variantsMartin Ridgers2022-01-071-7/+7
|
* Compile out source_location use if the toolchain doesn't support itMartin Ridgers2021-12-161-1/+1
|
* Merged latest from mainStefan Boberg2021-09-271-2/+2
|\
| * GetWindowsErrorAsString() -> GetSystemErrorAsString()Stefan Boberg2021-09-271-2/+2
| |
* | Merged main into linux-macMartin Ridgers2021-09-211-0/+41
|\|
| * Added ThrowSystemError() helperStefan Boberg2021-09-171-0/+6
| |
| * Removed WindowsException from public headersStefan Boberg2021-09-171-0/+35
| |
* | Merge main into linux-macMartin Ridgers2021-09-161-1/+1
|\|
| * clang-format fixesStefan Boberg2021-09-161-1/+1
| |
* | Merge from mainMartin Ridgers2021-09-161-0/+2
|\|
| * Handle absence of std::source_location somewhat more gracefully (relies on ↵Stefan Boberg2021-09-151-0/+2
| | | | | | | | client code also checking)
* | GetWindowsErrorAsString() -> GetErrorAsString()Martin Ridgers2021-09-161-3/+3
|/
* Added #ifdef condition around Windows-specific exception handlingMartin Ridgers2021-09-151-0/+4
|
* Moved system_error include to except.h for std::error_codeMartin Ridgers2021-09-151-1/+0
|
* Cross-platform zen::GetLastError()Martin Ridgers2021-09-151-3/+3
|
* Added some std::error_code helpersStefan Boberg2021-09-121-1/+7
| | | | | * Added MakeWin32ErrorCode/MakeErrorCodeFromLastError * Fixed GetLastErrorAsString() implementation so it doesn't throw (!)
* Added GetLastErrorAsString() to retrieve error string for last Windows API ↵Stefan Boberg2021-08-261-0/+6
| | | | | | error. Should ultimately be replaced with some more platform agnostic implementation
* clang-format fixesStefan Boberg2021-08-091-2/+3
|
* Added ThrowLastError which accepts a std::source_locationStefan Boberg2021-08-091-0/+8
|
* Cleaned up exception handlingStefan Boberg2021-05-211-5/+15
| | | | We now use std::system_error where possible to report Win32 system errors. We still have WindowsException for general HRESULT based errors but we should phase it out where possible
* Adding zenservice codeStefan Boberg2021-05-111-0/+17