simdjson  3.11.0
Ridiculously Fast JSON
simdjson::simdjson_error Struct Reference

Exception thrown when an exception-supporting simdjson method is called. More...

Inheritance diagram for simdjson::simdjson_error:

Public Member Functions

 simdjson_error (error_code error) noexcept
 Create an exception from a simdjson error code. More...
 
const char * what () const noexcept override
 The error message.
 
error_code error () const noexcept
 The error code.
 

Detailed Description

Exception thrown when an exception-supporting simdjson method is called.

Definition at line 82 of file error.h.

Constructor & Destructor Documentation

◆ simdjson_error()

simdjson::simdjson_error::simdjson_error ( error_code  error)
inlinenoexcept

Create an exception from a simdjson error code.

Parameters
errorThe error code

Definition at line 87 of file error.h.


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