Struct anira::Error#
-
struct Error : public std::runtime_error#
Inheritance diagram for anira::Error:
![digraph {
graph [bgcolor="#00000000"]
node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
edge [color="#1414CE"]
"1" [label="anira::Error" tooltip="anira::Error" fillcolor="#BFBFBF"]
"2" [label="std::runtime_error" tooltip="std::runtime_error"]
"1" -> "2" [dir=forward tooltip="public-inheritance"]
}](../../_images/graphviz-aaa4ea40207e376e4f771143af9ee062cdc9f2d3.png)
Collaboration diagram for anira::Error:
![digraph {
graph [bgcolor="#00000000"]
node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
edge [color="#1414CE"]
"1" [label="anira::Error" tooltip="anira::Error" fillcolor="#BFBFBF"]
"2" [label="std::runtime_error" tooltip="std::runtime_error"]
"1" -> "2" [dir=forward tooltip="public-inheritance"]
}](../../_images/graphviz-aaa4ea40207e376e4f771143af9ee062cdc9f2d3.png)
A failed C entry: the status and the message anira wrote into its anira_error, or the entry’s name when the entry carries no error record.
Public Functions
-
inline explicit Error(const anira_error &err)#
-
inline Error(anira_status status_value, std::string_view entry_name)#
-
inline Error(anira_status status_value, const anira_error &err)#
The status a C entry returned and the message it wrote (or the status’s text).
Public Members
-
anira_status status#
-
inline explicit Error(const anira_error &err)#