static final public void error(String msg, Throwable t) {
        // error cannot be disabled
        getTarget().println(SLF4J_ERROR_PREFIX + msg);
        getTarget().println(SLF4J_ERROR_PREFIX + "Reported exception:");
        t.printStackTrace(getTarget());
    }
Report an internal message of level "ERROR  accompanied by a {@link Throwable}.
Message text is prefixed with the string "SLF4J(E)", with (E) standing as a shorthand for ERROR.

<p>Messages of level ERROR are always enabled.

@param msg the message text
@param t a Throwable
slf4j-api/src/main/java/org/slf4j/helpers/Reporter.java