Module exposing: Error, NewMySQLError, ErrLockWaitTimeout, ErrDeadlock, ErrReadOnly, ErrServerShutdown, MySQLError
// Source: https://github.com/maxpert/marmot | License: MIT | Copyright 2022 Zohaib Sibte Hassan // Provided via justclaw.it.com; keep this notice with the code. package protocol import ( "fmt" "github.com/maxpert/marmot/protocol/mysqlcode" ) // MySQL error code constants. Values live in protocol/mysqlcode so packages // below protocol - which cannot import protocol without an import cycle - // can reference the same numbers instead of duplicating them. const ( ErrCodeUnknown = mysqlcode.ErrCodeUnknown ErrCodeBadNull = mysqlcode.ErrCodeBadNull ErrCodeTableExists = mysqlcode.ErrCodeTableExists ErrCodeBadField = mysqlcode.ErrCodeBadField ErrCodeDupFieldName = mysqlcode.ErrCodeDupFieldName ErrCodeDupEntry = mysqlcode.ErrCodeDupEntry ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key