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
  • Loading branch information
desusai7 committed Jun 3, 2024
1 parent 8ea170b commit b9ee6b7
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)

Check warning on line 42 in Auth0/WebAuthError.swift

View workflow job for this annotation

GitHub Actions / Lint code with SwiftLint

Lines should not have trailing whitespace (trailing_whitespace)
/// 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 b9ee6b7

Please sign in to comment.