ErrLookup › go-gorm/gorm
go-gorm/gorm
The fantastic ORM library for Golang, aims to be developer friendly · Go · 66 source files
Analyzed at 1d6ce99528 on 2026-08-15. 64 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| invalid transaction | exception | error | |
| not implemented | exception | error | |
| WHERE conditions required | exception | error | |
| unsupported relations | exception | error | |
| primary key required | exception | error | |
| model value required | exception | error | |
| model accessible fields required | exception | error | |
| sub query required | exception | error | |
| unsupported data | exception | error | |
| unsupported driver | exception | error | |
| registered | exception | error | |
| invalid field | exception | error | |
| empty slice found | exception | error | |
| dry run mode unsupported | exception | error | |
| invalid db | exception | error | |
| invalid value, should be pointer to struct or slice | exception | error | |
| invalid association values, length doesn't match | exception | error | |
| preload is not allowed when count is used | exception | error | |
| duplicated key not allowed | exception | error | |
| violates foreign key constraint | exception | error | |
| violates check constraint | exception | error | gorm, database, constraint, integrity, postgresql, mysql |
| unsupported relationship | exception | error | gorm, associations, schema, api-misuse |
| record not found | exception | warning | gorm, query, not-found, sentinel-error |
| failed to get schema | exception | error | gorm, migration, automigrate, schema, api-misuse |
| not support | exception | error | gorm, migration, index, driver, not-implemented |
| unsupported data type | exception | error | gorm, schema, model, data-type, validation |
| unsupported relations: %s | exception | error | gorm, associations, api-misuse, typo |
| unsupported data type: %v for relation %s | exception | error | gorm, associations, type-mismatch, append |
| unsupported data type: Table not set, please set it like: db | exception | error | gorm, query, model-required, api-misuse, schema |
| conflicting callback %s with before %s | exception | error | gorm, callbacks, hooks, plugin-conflict, startup |
| conflicting callback %s with after %s | exception | error | gorm, callbacks, hooks, plugin-conflict, startup |
| slice data #%v is invalid: unsupported data | exception | error | gorm, create, batch, nil, slice |
| %s: unsupported relations for schema %s | exception | error | gorm, preload, associations, typo, api-misuse |
| failed to assign association %#v, make sure foreign fields e | exception | error | gorm, preload, foreign-key, associations, data-integrity |
| model value required when using preload | exception | error | gorm, preload, model-required, api-misuse |
| unsupported select args %v %v | exception | error | gorm, select, query-builder, argument-validation |
| relation %s not found | exception | error | |
| many2many relation %s don't support LimitPerRecord | exception | error | |
| unknown association operation type: %v | exception | error | |
| failed to find relation: %s | exception | error | |
| missing field %s for join table | exception | error | |
| failed to look up field with name: %s | exception | error | |
| failed to create index with name %s | exception | error | |
| invalid serializer type %v | validation | error | |
| failed to parse %s as default value for bool, got error: %v | validation | error | |
| failed to parse %s as default value for int, got error: %v | validation | error | |
| failed to parse %s as default value for uint, got error: %v | validation | error | |
| failed to parse %s as default value for float, got error: %v | validation | error | |
| invalid embedded struct for %s's field %s, should be struct, | validation | error | |
| failed to set value %#v to field %s | exception | error | |
| failed to set string %v to time.Time field %s, failed to par | exception | error | |
| the composite tag of %s.%s cannot be empty | validation | error | |
| failed to parse field: %s, error: %w | validation | error | gorm, schema, relation, reflection |
| unsupported data type %v for %v on field %s | validation | error | gorm, schema, relation, data-type |
| invalid polymorphic type %v for %v on field %s, missing fiel | validation | error | gorm, polymorphic, relation, schema |
| invalid polymorphic foreign keys %+v for %v on field %s | validation | error | gorm, polymorphic, foreign-key, relation |
| invalid polymorphic type %v for %v on field %s, missing prim | validation | error | gorm, polymorphic, primary-key, relation |
| invalid foreign key: %s | validation | error | gorm, many2many, foreign-key, relation |
| invalid field found for struct %v's field %s: define a valid | validation | error | gorm, relation, guessing, valuer-scanner |
| unsupported data type: %+v | validation | error | gorm, nil, parse, validation |
| unsupported data type: %s.%s | validation | error | gorm, reflection, parse, named-type |
| integer overflow conversion uint64(%d) -> int64 | exception | error | gorm, serializer, unixsecond, overflow |
| invalid field type %#v for UnixSecondSerializer, only int, u | validation | error | gorm, serializer, unixsecond, type-mismatch |
| failed to unmarshal gob value: %#v | exception | error | gorm, serializer, gob, type-mismatch, driver |