The documentation shows how to specify a custom error typewhen using betterFetch directly.
Is there any way to do something similar when using createSchema()? I see that the options object accepts an errorSchema prop, but it doesn't seem to have any effect on the returned error type.
The documentation shows how to specify a custom error typewhen using
betterFetchdirectly.Is there any way to do something similar when using
createSchema()? I see that the options object accepts anerrorSchemaprop, but it doesn't seem to have any effect on the returned error type.