Open
Description
from this doc: https://orpc.unnoq.com/docs/client/error-handling
we can do
const { error, data, isDefined } = await safe(client.doSomething({ id: '123' }))
Feature request: create a safe orpc client so that we don't have to wrap the function every time.
like
const { error, data, isDefined } = await safeClient.doSomething({ id: '123' })
Metadata
Metadata
Assignees
Labels
No labels