public void setErrorMessage(final String name, final String message) {
        this.errorMessages.put(name, message);
    }
<p>setErrorMessage.</p>

@param name a {@link String} object
@param message a {@link String} object
pac4j-oauth/src/main/java/org/pac4j/oauth/exception/OAuthCredentialsException.java