This commit is contained in:
jdl
2024-11-17 15:18:05 +01:00
parent 84bc5e48e8
commit 5d442fa681
3 changed files with 10 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ func ErrIsForeignKey(err error) bool {
return ErrHasCode(err, "23503")
}
func ErrIsSerializationFaiilure(err error) bool {
func ErrIsSerializationFailure(err error) bool {
return ErrHasCode(err, "40001")
}