Connections OuterbaseConnection
and CloudflareD1Connection
do not throw Errors
#33
Labels
blocked
When an issue is blocked by another issue
bug
Something isn't working
good first issue
Good for newcomers
Describe the bug
When making requests to the database via the
OuterbaseConnection
or theCloudflareD1Connection
and an error is returned from either of those connections, the error never propagates back to the caller. If you look at the codenull
is actually hard coded as the return value there.To Reproduce
const { data, error } = db....
null
for errorExpected Result is to see an error object.
Expected behavior
Return an error in a standardized
ConnectionError
object similar to the type below:Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: