ErrorsΒΆ

Noteable error types:

OAuthError
OAuthError is the base class for all exceptions thrown/returned by oauth2-server.
ServerError
ServerError is used to wrap unknown exceptions encountered during request processing.
InvalidArgumentError
InvalidArgumentError is thrown when an invalid argument is encountered. This error indicates that the module is used incorrectly and should never be seen because of external errors.