MCPcopy Create free account
hub / github.com/Thalhammer/jwt-cpp / make_error_code

Function make_error_code

include/jwt-cpp/jwt.h:155–155  ·  view source on GitHub ↗

* \brief Converts JWT-CPP errors into generic STL error_codes */

Source from the content-addressed store, hash-verified

153 * \brief Converts JWT-CPP errors into generic STL error_codes
154 */
155 inline std::error_code make_error_code(rsa_error e) { return {static_cast<int>(e), rsa_error_category()}; }
156 /**
157 * \brief Errors related to processing of RSA signatures
158 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected