mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-02-09 20:09:17 -06:00
Following clang-tidy checks bugprone-*, concurrency-*, modernize-*, and google-*. - namespace-comments - using-namespaces - virtual vs override/final - explicit ctor/conversion operator
27 lines
596 B
C++
27 lines
596 B
C++
#pragma once
|
|
#ifndef ORM_MASSASSIGNMENTERROR_HPP
|
|
#define ORM_MASSASSIGNMENTERROR_HPP
|
|
|
|
#include "orm/macros/systemheader.hpp"
|
|
TINY_SYSTEM_HEADER
|
|
|
|
#include "orm/exceptions/runtimeerror.hpp"
|
|
|
|
TINYORM_BEGIN_COMMON_NAMESPACE
|
|
|
|
namespace Orm::Tiny::Exceptions
|
|
{
|
|
|
|
/*! Mass assignment exception. */
|
|
class SHAREDLIB_EXPORT MassAssignmentError : public Orm::Exceptions::RuntimeError
|
|
{
|
|
/*! Inherit constructors. */
|
|
using Orm::Exceptions::RuntimeError::RuntimeError;
|
|
};
|
|
|
|
} // namespace Orm::Tiny::Exceptions
|
|
|
|
TINYORM_END_COMMON_NAMESPACE
|
|
|
|
#endif // ORM_MASSASSIGNMENTERROR_HPP
|