UCILoader 1.1.2
Small C++ library that allows user to connect to a chess engines via UCI protocol.
Loading...
Searching...
No Matches
UCILoader::EngineOptionProxy::NotSupportedValueException Class Reference

Exception thrown when setting an option to an unsupported value. More...

#include <EngineConnection.h>

Inherits std::exception.

Detailed Description

Exception thrown when setting an option to an unsupported value.

Different option types have different validation rules:

  • Check options: Value must be "on", "off", "true", or "false" (case insensitive)
  • Spin options: Value must be within [min, max] range (use getAsOption().spin_content() to check)
  • Combo options: Value must be in the list of supported values (case sensitive) Use getAsOption().combo_content().supported_values to check allowed values
  • Button options: Cannot be assigned a value

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