Reduct  v1.0.4-3-gdaf0d70
A functional and immutable language.
Loading...
Searching...
No Matches
reduct_error_t Struct Reference

Error structure. More...

#include <error.h>

Collaboration diagram for reduct_error_t:

Data Fields

const char * input
 The input buffer.
 
reduct_size_t inputLength
 The total length of the input buffer.
 
const char * path
 THe path to the file that caused the error.
 
reduct_size_t regionLength
 The length of the region that caused the error.
 
reduct_size_t index
 The index of the region in the input buffer that caused the error.
 
reduct_jmp_buf_t jmp
 
reduct_error_type_t type
 The type of the error.
 
char message [REDUCT_ERROR_MAX_LEN]
 

Detailed Description

Error structure.

Definition at line 36 of file error.h.

Field Documentation

◆ input

const char* reduct_error_t::input

The input buffer.

Definition at line 38 of file error.h.

◆ inputLength

reduct_size_t reduct_error_t::inputLength

The total length of the input buffer.

Definition at line 39 of file error.h.

◆ path

const char* reduct_error_t::path

THe path to the file that caused the error.

Definition at line 40 of file error.h.

◆ regionLength

reduct_size_t reduct_error_t::regionLength

The length of the region that caused the error.

Definition at line 41 of file error.h.

◆ index

reduct_size_t reduct_error_t::index

The index of the region in the input buffer that caused the error.

Definition at line 42 of file error.h.

◆ jmp

reduct_jmp_buf_t reduct_error_t::jmp

Definition at line 43 of file error.h.

◆ type

reduct_error_type_t reduct_error_t::type

The type of the error.

Definition at line 44 of file error.h.

◆ message

char reduct_error_t::message[REDUCT_ERROR_MAX_LEN]

Definition at line 45 of file error.h.


The documentation for this struct was generated from the following file: