xref: /plan9/sys/man/5/error (revision b201583ed86a7b78ec3bef14fab5dc146d01f1d3)
ERROR 5
NAME
error - return an error
SYNOPSIS
size [4] Rerror tag [2] ename [ s ]
DESCRIPTION
The Rerror message (there is no Terror ) is used to return an error string describing the failure of a transaction. It replaces the corresponding reply message that would accompany a successful call; its tag is that of the failing request.

By convention, clients may truncate error messages after ERRMAX-1 bytes; ERRMAX is defined in <libc.h> .