Exception type to be used in rp-calls.

An RpcError is to be used to tag an rpc result as an error, the contents of
which are to be returned to the invoker (i. e. the client).
Specific error handling for RpcErrors in procedure calls.
API function to throw an rpc error with given error data.