virthttp  0.0
libvirt http interface
Public Member Functions | List of all members
ErrorMessages Class Reference

#include <error_msg.hpp>

Public Member Functions

constexpr auto operator[] (int errc) const noexcept-> std::string_view
 

Detailed Description

Member Function Documentation

constexpr auto ErrorMessages::operator[] ( int  errc) const -> std::string_view
inlinenoexcept

Get error message from virthttp error code

Parameters
[in]errcvirthttp error code
Returns
the associated error message, or "Unknown error" if the code does exist in ErrorMessages::pairs

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