Add specification of error replies.