Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ShortcutError Struct Reference

Allocation-free diagnostic independent of source and scene lifetime. More...

#include <shortcut.hpp>

Public Member Functions

bool operator== (const ShortcutError &other) const =default

Public Attributes

ShortcutErrorKind cause {}
 Exact parser/value failure.
std::size_t offset {}
 Zero-based byte offset; typed chord errors use their alternative index.

Detailed Description

Allocation-free diagnostic independent of source and scene lifetime.

Member Function Documentation

◆ operator==()

bool portals::ShortcutError::operator== ( const ShortcutError & other) const
default
Parameters
otherOriginal typed error to compare.
Returns
Whether both cause and offset match.

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