unity.scopes.ConfigException

Exception to indicate that something went wrong with the contents of configuration files. More...

#include <unity/scopes/ScopeExceptions.h>

Inheritance diagram for unity::scopes::ConfigException: src="https://assets.ubuntu.com/v1/74509ea2-classunity_1_1scopes_1_1_config_exception__inherit__graph.png" border="0" alt="Inheritance graph"/>

Public Member Functions

 ConfigException (std::string const &reason)
 Constructs the exception. More...
 
virtual std::exception_ptr self () const override
 Returns a std::exception_ptr to this. More...
 
Copy and assignment

Copy constructor and assignment operator have the usual value semantics.

 ConfigException (ConfigException const &)
 
ConfigExceptionoperator= (ConfigException const &)
 

Detailed Description

Exception to indicate that something went wrong with the contents of configuration files.

Constructor & Destructor Documentation

unity::scopes::ConfigException::ConfigException ( std::string const &  reason)
explicit

Constructs the exception.

Parameters
reasonFurther details about the cause of the exception.

Member Function Documentation

exception_ptr unity::scopes::ConfigException::self ( ) const
overridevirtual

Returns a std::exception_ptr to this.

Returns
std::exception_ptr to this.