Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::DesignIrParseError Struct Reference

Thrown by parse_design_ir_json for input that is not well-formed JSON: truncated documents, unterminated strings or escapes, unbalanced or over-deep nesting, embedded NUL bytes, and anything the JSON parser itself refuses. More...

#include <design_ir_io.hpp>

Public Member Functions

 DesignIrParseError (const std::string &message, std::size_t byte_offset)

Public Attributes

std::size_t offset

Detailed Description

Thrown by parse_design_ir_json for input that is not well-formed JSON: truncated documents, unterminated strings or escapes, unbalanced or over-deep nesting, embedded NUL bytes, and anything the JSON parser itself refuses.

offset is the byte offset of the problem, or std::string::npos when the parser reports only a line and column (included in the message).

Constructor & Destructor Documentation

◆ DesignIrParseError()

pulp::view::DesignIrParseError::DesignIrParseError ( const std::string & message,
std::size_t byte_offset )
inline

Member Data Documentation

◆ offset

std::size_t pulp::view::DesignIrParseError::offset

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