xentara-plugin v2.0.4
The Xentara Plugin Framework
Loading...
Searching...
No Matches
xentara::config Namespace Reference

Classes

class  Context
 A context used when loading skill elements. More...
 
class  CustomResolver
 A resolver for resolving custom cross references during loading. More...
 
class  Resolver
 deprecated An object used to resolve cross references in a configuration More...
 
struct  WithoutLocationTag
 Type used to specify that a resolver key is not associated with a location in any JSON document. More...
 

Concepts

concept  ReferenceResolvable
 A concept describing resolvable objects that are resolved by reference.
 
concept  CopyResolvable
 A concept describing resolvable objects that are resolved as copies.
 

Functions

auto throwUnknownParameterError (const utils::json::decoder::Name &name) -> void
 Throws an exception denoting that a member of a JSON object is unknown.
 

Function Documentation

◆ throwUnknownParameterError()

auto xentara::config::throwUnknownParameterError ( const utils::json::decoder::Name name) -> void

Throws an exception denoting that a member of a JSON object is unknown.

Parameters
nameThe name of the unknown member
Exceptions
std::runtime_errorThis function always throws this exception
Examples
LoadingElementConfig.cpp, and PublishingConfigAttributes.cpp.