mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-05-04 15:39:26 -05:00
d5f9632470
- normalized comments - added a new std::string ctor - getters noexcept
27 lines
525 B
C++
27 lines
525 B
C++
#pragma once
|
|
#ifndef ORM_EXCEPTIONS_DOMAINERROR_HPP
|
|
#define ORM_EXCEPTIONS_DOMAINERROR_HPP
|
|
|
|
#include "orm/macros/systemheader.hpp"
|
|
TINY_SYSTEM_HEADER
|
|
|
|
#include "orm/exceptions/logicerror.hpp"
|
|
|
|
TINYORM_BEGIN_COMMON_NAMESPACE
|
|
|
|
namespace Orm::Exceptions
|
|
{
|
|
|
|
/*! TinyORM Domain exception. */
|
|
class DomainError : public LogicError
|
|
{
|
|
/*! Inherit constructors. */
|
|
using LogicError::LogicError;
|
|
};
|
|
|
|
} // namespace Orm::Exceptions
|
|
|
|
TINYORM_END_COMMON_NAMESPACE
|
|
|
|
#endif // ORM_EXCEPTIONS_DOMAINERROR_HPP
|