Skip to content
class method

OpenSSL.errors

() -> ::Array[::String]
OpenSSL.errors → [String...]

Returns any remaining errors held in the OpenSSL thread-local error queue and clears the queue. This should normally return an empty array.

This is intended for debugging Ruby/OpenSSL. If you see any errors here, it likely indicates a bug in the extension. Please file an issue at github.com/ruby/openssl.

For debugging your program, OpenSSL.debug= may be useful.

See also .Digest .fips_mode .debug= .fips_mode= also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0