[#ERR_get_error]
= ERR&lowbar;get&lowbar;error
:mrdocs:

Pop the earliest error code from the current thread&apos;s error queue&period;

== Synopsis

Declared in `&lt;openssl&sol;err&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unsigned long
ERR&lowbar;get&lowbar;error();
----

== Return Value

Packed error code, or 0 if the queue is empty&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
