An explicit error result from a donner::gpu operation, carrying the error category and a human-readable message that names the offending field or state so a failing test localizes the bug without a rerun.
More...
#include "donner/gpu/GpuError.h"
An explicit error result from a donner::gpu operation, carrying the error category and a human-readable message that names the offending field or state so a failing test localizes the bug without a rerun.
◆ operator==()
| bool donner::gpu::GpuError::operator== |
( |
const GpuError & | other | ) |
const |
|
default |
Equality operator.
- Parameters
-
| other | Error to compare against. |
◆ TypeToString()
| std::string_view donner::gpu::GpuError::TypeToString |
( |
GpuErrorType | type | ) |
|
|
static |
Returns the name of an error type, e.g.
"InvalidDescriptor".
- Parameters
-
| type | Error type to format. |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const GpuError & | error ) |
|
friend |
Ostream output operator, outputs <type>: <message>.
- Parameters
-
| os | Output stream. |
| error | Error to output. |
The documentation for this struct was generated from the following file: