p These routines can be called by the server side dispatch function if there is any error in the transaction with the client. .Sh ROUTINES See .Xr rpc 3 for the definition of the .Vt SVCXPRT data structure.
p l -tag -width XXXXX t Fn svcerr_auth Called by a service dispatch routine that refuses to perform a remote procedure call due to an authentication error.
p .Fn svcerr_decode Called by a service dispatch routine that cannot successfully decode the remote parameters (see .Fn svc_getargs in .Xr rpc_svc_reg 3 ) .
p t Fn svcerr_noproc Called by a service dispatch routine that does not implement the procedure number that the caller requests.
p t Fn svcerr_noprog Called when the desired program is not registered with the RPC package. Service implementors usually do not need this routine.
p t Fn svcerr_progvers Called when the desired version of a program is not registered with the RPC package. .Fa low_vers is the lowest version number, and .Fa high_vers is the highest version number. Service implementors usually do not need this routine.
p t Fn svcerr_systemerr Called by a service dispatch routine when it detects a system error not covered by any particular protocol. For example, if a service can no longer allocate storage, it may call this routine.
p t Fn svcerr_weakauth Called by a service dispatch routine that refuses to perform a remote procedure call due to insufficient (but correct) authentication parameters. The routine calls .Fn svcerr_auth "xprt" "AUTH_TOOWEAK" . .El .Sh SEE ALSO .Xr rpc 3 , .Xr rpc_svc_calls 3 , .Xr rpc_svc_create 3 , .Xr rpc_svc_reg 3