Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Errors Namespace Reference

Functions

void fatalf (const char *messageFormat,...)
 
void fatal (const char *message)
 
void unreachable ()
 
void unimplemented (const char *context)
 

Function Documentation

◆ fatal()

void Errors::fatal ( const char * message)
inline

Definition at line 21 of file Errors.h.

21{ fatalf("%s\n",message); }
void fatalf(const char *messageFormat,...)
Definition Errors.h:12
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fatalf()

void Errors::fatalf ( const char * messageFormat,
... )
inline

Definition at line 12 of file Errors.h.

13 {
14 va_list varArgs;
15 va_start(varArgs,messageFormat);
16 std::vfprintf(stderr,messageFormat,varArgs);
17 std::fflush(stderr);
18 va_end(varArgs);
19 std::abort();
20 }
Here is the caller graph for this function:

◆ unimplemented()

void Errors::unimplemented ( const char * context)
inline

Definition at line 23 of file Errors.h.

23{ fatalf("unimplemented: %s\n",context); }
Here is the call graph for this function:

◆ unreachable()

void Errors::unreachable ( )
inline

Definition at line 22 of file Errors.h.

22{ fatalf("reached unreachable code\n"); }
Here is the call graph for this function:
Here is the caller graph for this function: