5#ifndef SAPPHIRE_LOGGER_EXCEPTION_EQUALS_GUARD
6#define SAPPHIRE_LOGGER_EXCEPTION_EQUALS_GUARD
43 std::wstring _predStr = L
"pred"
47 std::move(_predStr) + L
" => { " +
ToWString(_lhs) + L
" == " +
ToWString(_rhs)+ L
" }: Values must be equal.")
66 std::wstring _predStr = L
"pred"
84 std::wstring _predStr = L
"pred"
92 #define __SA_CREATE_EXCEPTION_Equals(_baseInfo, _lhs, _rhs) SA::Exception_Equals(\
96 L"\'" SA_WSTR(_lhs) L"\' == \'" SA_WSTR(_rhs) L"\'"\
Default Exception type implementation.
std::wstring ToWString(const Log &_log)
ToWString implementation for log.
Equals exception base type.
Definition Exception_Equals.hpp:24
Exception_Equals(BaseInfo _info, double _lhs, double _rhs, std::wstring _predStr=L"pred") noexcept
Exception_Equals(BaseInfo _info, float _lhs, float _rhs, std::wstring _predStr=L"pred") noexcept
Exception_Equals(BaseInfo _info, const T &_lhs, const T &_rhs, std::wstring _predStr=L"pred") noexcept
Definition Exception_Equals.hpp:39
Default (base) Exception type.
Definition Exception.hpp:24
Exception(BaseInfo _info, bool _pred, std::wstring _msg=L"") noexcept
Base exception create info.
Definition Exception.hpp:28