|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Owning resource position, independent of parser, scene and widget lifetimes. More...
#include <scene_resource_error.hpp>
Public Attributes | |
| SceneResourceErrorCode | code {SceneResourceErrorCode::SYNTAX} |
| Original resource failure category. | |
| std::shared_ptr< const std::string > | source {} |
| Safe source label or file path, never string-document bytes; may be empty on allocation failure. | |
| std::size_t | offset {} |
| Zero-based byte offset in the resource, including UTF-8 bytes. | |
| std::size_t | line {1} |
| One-based source line; zero for a registration failure without a source position. | |
| std::size_t | column {1} |
| One-based byte column; zero for registration failures; tabs count as one byte. | |
| std::error_code | system {} |
| Independent file-system failure; empty for parser failures. | |
| std::shared_ptr< const std::string > | propertyPath {} |
| Owning type/property path, including an inherited setting; empty when unavailable. | |
Owning resource position, independent of parser, scene and widget lifetimes.