CoreComponents 3.0.0
A Modern C++ Toolkit
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Modules
MetaError Class Reference

Error thrown during object realization More...

#include <cc/MetaError>

Inheritance diagram for MetaError:

Public Member Functions

 MetaError (const String &message, const MetaObject &offendingObject=MetaObject{}, const String &memberName="")
 Create a new meta error.
 
MetaObject offendingObject () const
 Offending meta-object which couldn't be realized
 
String memberName () const
 Offending member which was missing or out-of-range
 
- Public Member Functions inherited from UsageError
 UsageError (const String &message="")
 
String message () const override
 Generate error message for debug output.
 

Detailed Description

Error thrown during object realization

See also
MetaObject::realize()

Constructor & Destructor Documentation

◆ MetaError()

MetaError ( const String & message,
const MetaObject & offendingObject = MetaObject{},
const String & memberName = "" )

Create a new meta error.

Parameters
messageError message
offendingObjectOffending meta-object which couldn't be realized
memberNameOffending member which was missing or out-of-range

Member Function Documentation

◆ offendingObject()

MetaObject offendingObject ( ) const

Offending meta-object which couldn't be realized

◆ memberName()

String memberName ( ) const

Offending member which was missing or out-of-range