| SYNOPSIS | 
#include <dkim.h>
DKIM_STAT dkim_sig_seterror(
	DKIM_SIGINFO *sig,
	int err
);
 
Set the error value stored for a specific signature.
 | 
| DESCRIPTION | 
| Called When | 
dkim_sig_seterror() can be called from within the key lookup
    callback set by
    dkim_set_key_lookup(),
    if defined.   | 
 
 
 | 
|---|
| ARGUMENTS | 
    
    | Argument | Description |  
    | sig | 
	Signature-specific handle.
	 |  
    | err | 
	A DKIM_SIGERROR error
	    code.
	 |  
     
 | 
| NOTES |  
- Returns DKIM_STAT_INVALID if the signature already has an error
    code assigned to it other than DKIM_SIGERROR_UNKNOWN.
  
 |