Skip to content

Commit

Permalink
chore: exposed .transactionActiveAlready error case as a public stati…
Browse files Browse the repository at this point in the history
…c object to be consumed in switch cases (#855)
  • Loading branch information
desusai7 committed Jun 3, 2024
1 parent bb9bc66 commit 1c3e758
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Auth0/WebAuthError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ public struct WebAuthError: Auth0Error {
/// build a valid URL.
/// This error does not include a ``Auth0Error/cause-9wuyi``.
public static let noBundleIdentifier: WebAuthError = .init(code: .noBundleIdentifier)

/// There is already an active transaction at the moment; therefore, this newly initiated transaction is canceled.
/// This error does not include a ``Auth0Error/cause-9wuyi``.
public static let transactionActiveAlready: WebAuthError = .init(code: .transactionActiveAlready)

/// The invitation URL is missing the `invitation` and/or the `organization` query parameters.
/// This error does not include a ``Auth0Error/cause-9wuyi``.
Expand Down

0 comments on commit 1c3e758

Please sign in to comment.