public void addError(Error error) {
        errors.add(error);
        getTrace().trace(TraceLevel.ERROR, error.toString());
    }
<p>Add an error to this reply. This method will also trace the error as long as there is any tracing
enabled.</p>

@param error The error object to add.
messagebus/src/main/java/com/yahoo/messagebus/Reply.java