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

File-journal failure with the offending byte and nested JSON error. More...

#include <file_journal.hpp>

Public Attributes

FileJournalErrorCode code = FileJournalErrorCode::IoError
std::uint64_t byte_offset = 0
std::optional< PersistenceError > persistence_error

Detailed Description

File-journal failure with the offending byte and nested JSON error.

persistence_error is populated when canonical snapshot decoding or encoding fails; byte_offset identifies the record or frame position when applicable.

Member Data Documentation

◆ byte_offset

std::uint64_t pulp::timeline::FileJournalError::byte_offset = 0

◆ code

FileJournalErrorCode pulp::timeline::FileJournalError::code = FileJournalErrorCode::IoError

◆ persistence_error

std::optional<PersistenceError> pulp::timeline::FileJournalError::persistence_error

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/timeline/include/pulp/timeline/file_journal.hpp