CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::DuplicateMetaclass Class Reference

#include <CeresEngine/Reflection/MetaError.hpp>

Inheritance diagram for CeresEngine::DuplicateMetaclass:
CeresEngine::DefinitionError CeresEngine::RuntimeError CeresEngine::Exception

Public Member Functions

template<typename S , typename... Args>
 DuplicateMetaclass (const S &formatString, Args &&... args)
 
- Public Member Functions inherited from CeresEngine::DefinitionError
template<typename S , typename... Args>
 DefinitionError (const S &formatString, Args &&... args)
 
- Public Member Functions inherited from CeresEngine::RuntimeError
template<typename S , typename... Args>
 RuntimeError (const S &formatString, Args &&... args)
 
- Public Member Functions inherited from CeresEngine::Exception
 Exception (const char *typeName, const String &description="", const SourceLocation &sourceLocation=SourceLocation::current())
 
template<typename S , typename... Args>
 Exception (const char *typeName, const S &formatString, Args &&... args)
 
 Exception (const Exception &other)=default
 
Exceptionoperator= (const Exception &other)=default
 
 Exception (Exception &&other) noexcept=default
 
Exceptionoperator= (Exception &&other) noexcept=default
 
 ~Exception () noexcept override=default
 
virtual const StringgetFullDescription () const
 Returns a string with the full description of the exception.
 
virtual StringView getSource () const noexcept
 Gets the source function that threw the exception.
 
virtual StringView getFile () const noexcept
 Gets the source file name in which the exception was thrown.
 
virtual UInt32 getLine () const noexcept
 Gets line number on which the exception was thrown.
 
virtual StringView getDescription () const noexcept
 Gets a short description about the exception.
 
const charwhat () const noexcept override
 Overriden std::exception::what. Returns the same value as getFullDescription().
 

Constructor & Destructor Documentation

◆ DuplicateMetaclass()

template<typename S , typename... Args>
CeresEngine::DuplicateMetaclass::DuplicateMetaclass ( const S formatString,
Args &&...  args 
)
inlineexplicit

The documentation for this class was generated from the following file: