Pharos 0.7.23
Modern Web Framework & Web App Hosting Service.
Loading...
Searching...
No Matches
yyjson_patch_err Struct Reference

#include <yyjson.h>

Data Fields

yyjson_patch_code code
size_t idx
const char * msg
yyjson_ptr_err ptr

Detailed Description

Error information for JSON patch.

Definition at line 4883 of file yyjson.h.

Field Documentation

◆ code

yyjson_patch_code yyjson_patch_err::code

Error code, see yyjson_patch_code for all possible values.

Definition at line 4885 of file yyjson.h.

◆ idx

size_t yyjson_patch_err::idx

Index of the error operation (0 if no error).

Definition at line 4887 of file yyjson.h.

◆ msg

const char* yyjson_patch_err::msg

Error message, constant, no need to free (NULL if no error).

Definition at line 4889 of file yyjson.h.

◆ ptr

yyjson_ptr_err yyjson_patch_err::ptr

JSON pointer error if code == YYJSON_PATCH_ERROR_POINTER.

Definition at line 4891 of file yyjson.h.


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