rpc: allow atoms as error reasons