Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
So looks like all errors have an error_code key, the json['meta']['error'] was not working because it was a String instead of Map. validating by error_code is the right way I guess, at least is working in my use case. https://www.prisma.io/docs/reference/api-reference/error-reference#error-codes Signed-off-by: Uriel <urychdz@hotmail.es>
- Loading branch information