simdjson: simdjson::simdjson_error Struct Reference

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

#include <error.h>

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.
 

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

Definition at line 91 of file error.h.

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

Create an exception from a simdjson error code.

Parameters

Definition at line 96 of file error.h.

◆ 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: