MIT Kerberos Documentation

krb5_copy_error_message - Copy the most recent extended error message from one context to another.

void krb5_copy_error_message(krb5_context dest_ctx, krb5_context src_ctx)
param:

[in] dest_ctx - Library context to copy message to

[in] src_ctx - Library context with current message