Rodin::Alert::NamespacedException class

Exception class that automatically includes the namespace name.

Specialized exception class that prepends a namespace identifier to the error message. The namespace name is formatted with appropriate coloring and emphasis for clear visual identification in error output.

Example usage: NamespacedException("Rodin::Geometry") << "Invalid operation" << Raise;

This produces output like: "Error: Rodin::Geometry. Invalid operation"

Base classes

class Exception
Exception class with formatted output capabilities.

Constructors, destructors, conversion operators

NamespacedException(const std::string& namesp)
Constructs a NamespacedException with the given namespace name.

Function documentation

Rodin::Alert::NamespacedException::NamespacedException(const std::string& namesp)

Constructs a NamespacedException with the given namespace name.

Parameters
namesp The namespace name to include in the error message.

Automatically formats the namespace name with appropriate styling and prepends it to the exception message.