Class OAuth2Error

java.lang.Object
com.nimbusds.oauth2.sdk.OAuth2Error

public final class OAuth2Error extends Object
Standard OAuth 2.0 authorisation and token endpoint errors.

The set HTTP status code is ignored for authorisation errors passed by HTTP redirection. Errors that are only used by at the authorisation endpoint are supplied with a matching HTTP status code in case they are used in a different context.