xentara-workbench-plugin v1.0.1
The Xentara Workbench Plugin Framework
Loading...
Searching...
No Matches
xentara::workbench::config Namespace Reference

Functionality for loading and saving Xentara model files. More...

Classes

class  Context
 A context used when loading skill elements. More...
 
class  CustomResolver
 
struct  WithoutLocationTag
 Type used to specify that a resolver key is not associated with a location in any JSON document. More...
 

Functions

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

Detailed Description

Functionality for loading and saving Xentara model files.

This namespace contains functionality used when loading and saving the configuration of skill elements from a Xentara model file.

Function Documentation

◆ throwUnknownParameterError()

auto xentara::workbench::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