simdjson 4.1.0
Ridiculously Fast JSON
Loading...
Searching...
No Matches
simdjson::simdjson_error Struct Reference

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

#include <error.h>

Inheritance diagram for simdjson::simdjson_error:

Public Member Functions

 simdjson_error (error_code error) noexcept
 Create an exception from a simdjson error code.
 
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 91 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 96 of file error.h.

Member Function Documentation

◆ error()

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

The error code.

Definition at line 100 of file error.h.

◆ what()

const char * simdjson::simdjson_error::what ( ) const
inlineoverridenoexcept

The error message.

Definition at line 98 of file error.h.


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