EN
RU
Portals
0.7.0 · dev
0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Toggle main menu visibility
Loading...
Searching...
No Matches
text_resource.hpp
1
// Copyright (c) 2026 ttldtor.
2
// SPDX-License-Identifier: BSL-1.0
3
#pragma once
4
5
namespace
portals
{
6
8
enum class
TextResourceError
{
10
MISSING_RESOURCE
,
12
RESOLVER_REQUIRED
,
14
RESOLVER_FAILED
15
};
16
17
}
// namespace portals
portals
Public Portals API.
Definition
action.hpp:8
portals::TextResourceError
TextResourceError
Observable resource lookup failure, distinct from UTF-8 validation.
Definition
text_resource.hpp:8
portals::TextResourceError::RESOLVER_REQUIRED
@ RESOLVER_REQUIRED
Resource resolution was requested without a caller-owned resolver.
Definition
text_resource.hpp:12
portals::TextResourceError::MISSING_RESOURCE
@ MISSING_RESOURCE
The caller's resolver could not find the requested resource key.
Definition
text_resource.hpp:10
portals::TextResourceError::RESOLVER_FAILED
@ RESOLVER_FAILED
The resolver reported failure or threw a non-allocation exception.
Definition
text_resource.hpp:14
include
portals
text_resource.hpp