Skip to content

scram::mef::ValidityError

Model validity errors.

#include <error.h>

Inherits from scram::Error, std::exception

Inherited by scram::mef::CycleError, scram::mef::DomainError, scram::mef::DuplicateElementError, scram::mef::UndefinedElement

Public Functions

Name
Error(std::string msg)<br>Constructs a new error with a provided message.

Additional inherited members

Public Functions inherited from scram::Error

Name
const char *what() const

Public Functions Documentation

function Error

cpp
inline explicit Error(
    std::string msg
)

Constructs a new error with a provided message.

Parameters:

  • msg The message to be passed with this error.

Updated on 2025-11-11 at 16:51:08 +0000