Skip to content

scram::IllegalOperation ​

This error can be used to indicate that call for a function or operation is not legal.

#include <error.h>

Inherits from scram::Error, std::exception

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-12-19 at 21:56:46 +0000