AuthorizationKindeError.fromOauth2Exception constructor

  1. @protected
AuthorizationKindeError.fromOauth2Exception(
  1. AuthorizationException error,
  2. StackTrace stackTrace
)

Implementation

@protected
factory AuthorizationKindeError.fromOauth2Exception(
        AuthorizationException error, StackTrace stackTrace) =>
    AuthorizationKindeError._(
      error.error,
      error.description ?? "Unknown OAuth2 authorization error",
      stackTrace,
    );