Is there a way to tell if an error thrown by D1 is due to a constraint violation? More generally, is
Is there a way to tell if an error thrown by D1 is due to a constraint violation? More generally, is there a way to detect a unique constraint violation? Everything seems to just be a D1_ERROR