[#OSSL_CMP_SRV_error_cb_t]
= OSSL&lowbar;CMP&lowbar;SRV&lowbar;error&lowbar;cb&lowbar;t
:mrdocs:

Server callback invoked when constructing an error message response&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef void(* OSSL&lowbar;CMP&lowbar;SRV&lowbar;error&lowbar;cb&lowbar;t)(xref:OSSL_CMP_SRV_CTX.adoc[OSSL&lowbar;CMP&lowbar;SRV&lowbar;CTX]*, xref:OSSL_CMP_MSG.adoc[OSSL&lowbar;CMP&lowbar;MSG] const*, xref:OSSL_CMP_PKISI.adoc[OSSL&lowbar;CMP&lowbar;PKISI] const*, xref:ASN1_INTEGER.adoc[ASN1&lowbar;INTEGER] const*, xref:OSSL_CMP_PKIFREETEXT.adoc[OSSL&lowbar;CMP&lowbar;PKIFREETEXT] const*);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *srv&lowbar;ctx*
| CMP server context&period;
| *req*
| Request that triggered the error, if available&period;
| *statusInfo*
| PKIStatusInfo being sent&period;
| *errorCode*
| Optional error code integer from the error message body&period;
| *errDetails*
| Optional free&hyphen;text error details&period;
|===


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