Noteable error types:
- OAuthError is the base class for all exceptions thrown/returned by oauth2-server.
- ServerError is used to wrap unknown exceptions encountered during request processing.
- 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.