# Functions
CanRetry checks if a query could be retried on the base of given error.
ErrorCode gets the mysql based error code from input error.
IsDuplicatedError checks if given error states for the mysql duplicated input error.
NewDriver creates a new error driver.
# Structs
MySQLDriver is the implementation of the MySQL based database.Driver.