SA_Logger
Sapphire's Suite's C++ Logger.
Loading...
Searching...
No Matches
Exception_Nullptr.hpp
Go to the documentation of this file.
1// Copyright (c) 2023 Sapphire's Suite. All Rights Reserved.
2
3#pragma once
4
5#ifndef SAPPHIRE_LOGGER_EXCEPTION_NULLPTR_GUARD
6#define SAPPHIRE_LOGGER_EXCEPTION_NULLPTR_GUARD
7
9
20namespace SA
21{
24 {
25 public:
34 BaseInfo _info,
35 bool _pred,
36 std::wstring _predStr = L"ptr"
37 ) noexcept;
38 };
39
40
41
43
45 #define __SA_CREATE_EXCEPTION_Nullptr(_baseInfo, _pred) SA::Exception_Nullptr(\
46 _baseInfo,\
47 _pred,\
48 SA_WSTR(_pred)\
49 )
50
52}
53
62#endif // GUARD
Default Exception type implementation.
Nullptr Exception type.
Definition Exception_Nullptr.hpp:24
Exception_Nullptr(BaseInfo _info, bool _pred, std::wstring _predStr=L"ptr") noexcept
Default (base) Exception type.
Definition Exception.hpp:24
Base exception create info.
Definition Exception.hpp:28