Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: exposed .transactionActiveAlready error case as a public static object to be consumed in switch cases #855

Merged
merged 2 commits into from
Jun 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
/// 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
Loading