When this class is instantiated, GetErrorMessage() is called automatically. This will call ERR_get_error() on the native openssl interface, once for every error that is in the current context. The exception message is the concatination of each of these errors turned into strings using ERR_error_string_n().