morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::model::EffectsRegistrationError Struct Reference

Thrown on a read of the effects or record registry when the registered configuration is invalid. More...

#include <effects.hpp>

Inheritance diagram for morph::model::EffectsRegistrationError:

Public Member Functions

 EffectsRegistrationError (std::vector< std::string > problems)
 Constructs the error from the problems found.
std::vector< std::string > const & problems () const noexcept
 The problems found, in the order they were found.

Detailed Description

Thrown on a read of the effects or record registry when the registered configuration is invalid.

Lists every problem found, one per line, not only the first. Matching runs on the first read, not when the registration phase closes, because closeRegistrationPhase() is noexcept and a release build closes it only when the application asks.

Definition at line 46 of file effects.hpp.

Constructor & Destructor Documentation

◆ EffectsRegistrationError()

morph::model::EffectsRegistrationError::EffectsRegistrationError ( std::vector< std::string > problems)
inlineexplicit

Constructs the error from the problems found.

Parameters
problemsOne sentence per problem.

Definition at line 49 of file effects.hpp.

Member Function Documentation

◆ problems()

std::vector< std::string > const & morph::model::EffectsRegistrationError::problems ( ) const
inlinenodiscardnoexcept

The problems found, in the order they were found.

Returns
One sentence per problem.

Definition at line 54 of file effects.hpp.


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