Pascal Ernst

Results 13 comments of Pascal Ernst

Sure, its pretty simple: ```tsx function myMapError(error: unknown, response: Response, request: Request, _options: Options): unknown | Promise { return MyApiError.fromResponse({ error, response, request }); } // During Setup of client...

Nope, the API's responses are too big and too fast to run Zod over them - we just validate the json problems with zod, since error handling is hard™️ and...