Skip to content

Struct SandwichError

ClassList > SandwichError

An error code.

  • #include <error.h>

Public Attributes

Type Name
int code
The error code.
struct SandwichError * details
The encapsulated error.
SandwichErrorKind kind
The error kind. See error::ErrorKind enum.
const char * msg
An optional error string.

Public Attributes Documentation

variable code

int SandwichError::code;

variable details

struct SandwichError* SandwichError::details;

variable kind

SandwichErrorKind SandwichError::kind;

variable msg

const char* SandwichError::msg;

The documentation for this class was generated from the following file docs/sandwich_c/error.h