class unknown_option

Declaration

class unknown_option : public error_with_no_option_name { /* full declaration omitted */ };

Description

Class thrown when option name is not recognized.

Declared at: libs/pika/program_options/include/pika/program_options/errors.hpp:278

Inherits from: error_with_no_option_name

Member Variables

Inherited from error_with_option_name:

protected m_option_style
protected m_substitutions
protected m_substitution_defaults
public m_error_template
protected m_message

Method Overview

Inherited from error_with_no_option_name:

Inherited from error_with_option_name:

Inherited from error:

    Methods

    unknown_option(
        const std::string& original_token = "")

    Declared at: libs/pika/program_options/include/pika/program_options/errors.hpp:281

    Parameters

    const std::string& original_token = ""

    ~unknown_option() noexcept

    Description

    gcc says that throw specification on dtor is loosened without this line

    Declared at: libs/pika/program_options/include/pika/program_options/errors.hpp:287