cpp/utility/variant/bad variant access

is the type of the exception thrown in the following situations:
 * called with an index or type that does not match the currently active alternative
 * called to visit a variant that is