Documentation
¶
Index ¶
Constants ¶
View Source
const ( CodeUnique = "ERR_UNIQUE" CodeForeignKey = "ERR_FOREIGN_KEY" CodeNotNull = "ERR_NOT_NULL" CodeCheck = "ERR_CHECK" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetailedErrorDecoder ¶
type DetailedErrorDecoder interface {
ErrorDecoder
Detail(err error) (constraint, table, column string)
}
type ErrorDecoder ¶
Click to show internal directories.
Click to hide internal directories.