Base class for all exceptions related to network policy operations.
More...
#include <error_policy.h>
|
| | PolicyError (const std::string &msg) |
| | Constructs a PolicyError with a descriptive message.
|
| |
| const char * | what () const noexcept override |
| | Returns the explanatory string.
|
| |
Base class for all exceptions related to network policy operations.
This exception is the parent for more specific policy-related errors. Catching this type will catch any exception originating from the policy system.
◆ PolicyError()
| gridfire::exceptions::PolicyError::PolicyError |
( |
const std::string & | msg | ) |
|
|
inlineexplicit |
Constructs a PolicyError with a descriptive message.
- Parameters
-
◆ what()
| const char * gridfire::exceptions::PolicyError::what |
( |
| ) |
const |
|
inlinenodiscardoverridenoexcept |
Returns the explanatory string.
- Returns
- A C-style string with the error message.
◆ m_message
| std::string gridfire::exceptions::PolicyError::m_message |
|
private |
The documentation for this class was generated from the following file: