This repository was archived by the owner on Oct 10, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 194
feat: support throwing errors instead of returning them #1022
Closed
Closed
Changes from 2 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f3bf1ab
Support throwing errors instead of returning them
kiwicopple 4806ba1
Update test assertions to use correct syntax with periods
kiwicopple ed8d296
remove AI suggestions
kiwicopple 0f6fdff
Adds to the type
kiwicopple ea2fd39
fixes spelling mistake
kiwicopple 73a52a1
fixes storage error on test
kiwicopple e15b402
fixes type
kiwicopple da467c2
small bump to pr to fix errors
kiwicopple File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,10 @@ | ||
| import GoTrueClient from './GoTrueClient' | ||
|
|
||
| const AuthClient = GoTrueClient | ||
| const AuthClient = (options) => { | ||
|
Check failure on line 3 in src/AuthClient.ts
|
||
| return new GoTrueClient({ | ||
| ...options, | ||
| throwOnError: options.throwOnError || false, | ||
| }) | ||
| } | ||
|
|
||
| export default AuthClient | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.