Pixar Arch
Loading...
Searching...
No Matches
error.h File Reference

Low-level fatal error reporting. More...

#include "./api.h"
#include "./defines.h"
#include "./functionLite.h"
#include <stddef.h>

Go to the source code of this file.

Namespaces

namespace  pxr
 

Macros

#define ARCH_ERROR(msg)
 Unconditionally aborts the program.
 
#define ARCH_WARNING(msg)
 Prints a warning message to stderr.
 
#define ARCH_AXIOM(cond)
 Aborts the program if cond evaluates to false.
 

Detailed Description

Low-level fatal error reporting.

Macro Definition Documentation

◆ ARCH_ERROR

#define ARCH_ERROR ( msg)

Unconditionally aborts the program.

Parameters
msgis a literal string, a const char* (but not an std::string) that describes why the program is aborting.

◆ ARCH_WARNING

#define ARCH_WARNING ( msg)

Prints a warning message to stderr.

Parameters
msgis a literal string, a const char* (but not an std::string).

◆ ARCH_AXIOM

#define ARCH_AXIOM ( cond)

Aborts the program if cond evaluates to false.