infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
infix_error_details_t Struct Reference

A structure holding detailed information about the last error that occurred on the current thread. More...

#include <infix.h>

Public Attributes

infix_error_category_t category
 The general category of the error.
 
infix_error_code_t code
 The specific error code.
 
size_t position
 For parser errors, the 0-based index in the input string where the error occurred.
 
long system_error_code
 For OS-level errors (errno, GetLastError())
 
char message [256]
 For descriptive strings (dlerror(), etc.)
 

Detailed Description

A structure holding detailed information about the last error that occurred on the current thread.

Member Data Documentation

◆ category

infix_error_category_t infix_error_details_t::category

The general category of the error.

◆ code

infix_error_code_t infix_error_details_t::code

The specific error code.

◆ message

char infix_error_details_t::message[256]

For descriptive strings (dlerror(), etc.)

◆ position

size_t infix_error_details_t::position

For parser errors, the 0-based index in the input string where the error occurred.

◆ system_error_code

long infix_error_details_t::system_error_code

For OS-level errors (errno, GetLastError())


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