CJOSE  0.6.0
Public Attributes | List of all members
cjose_err Struct Reference

#include <error.h>

Public Attributes

cjose_errcode code
 
const char * message
 
const char * function
 
const char * file
 
unsigned long line
 

Detailed Description

An instance of an error context. Unlike other structures, it is the API user's responsibility to allocate the structure; however the values provided are considered constants, and MUST NOT be deallocated.

Member Data Documentation

◆ code

cjose_errcode cjose_err::code

The error code

◆ file

const char* cjose_err::file

The file where the error occured

◆ function

const char* cjose_err::function

The function where the error occured, or "<unknown>" if it cannot be determined

◆ line

unsigned long cjose_err::line

The line number in the file where the error occured

◆ message

const char* cjose_err::message

The human readable message for the error code


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