MCPcopy Create free account
hub / github.com/corestoreio/pkg / MySQLMessageFromError

Function MySQLMessageFromError

sql/dml/errors.go:58–64  ·  view source on GitHub ↗

MySQLMessageFromError returns the textual message of the MySQL error. The error has been generated by the driver go-sql-driver/mysql. Returns an empty string if the type of error is not *mysql.MySQLError.

(err error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestMySQLFromErrorFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestMySQLFromErrorFunction · 0.68