onAPIError does not get called?

Hey, I've been trying to get better-auth to throw an APIError from the handler or at least a way to customize the response but it seems like that onAPIError is broken? It does not get called when an error happens on better-auth
1 Reply
ThallesComH
ThallesComHOP4w ago
oh, is onAPIError only for client side errors?

Did you find this page helpful?