class required_option

Declaration

class required_option : public error_with_option_name { /* full declaration omitted */ };

Description

Class thrown when a required/mandatory option is missing

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

Inherits from: error_with_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_option_name:

Inherited from error:

    Methods

    required_option(const std::string& option_name)

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

    Parameters

    const std::string& option_name

    ~required_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:246