boost::corosio::wolfssl_category

Return the error category for raw WolfSSL errors.

Synopsis

std::error_category const&
wolfssl_category() noexcept;

Description

Errors reported by wolfssl_stream that originate from wolfSSL_get_error are assigned this category. Its message() decodes the WolfSSL error code using WolfSSL's own diagnostic strings, so printing such an error_code yields a readable description (for example, "ASN no signer error to confirm failure").

Return Value

A reference to a static category object with name "corosio.wolfssl".

Created with MrDocs