Thanks to visit codestin.com Credit goes to dev.mysql.com
This exception is the default for any MySQL error which does not fit the other exceptions.
errors.DatabaseError is a subclass of errors.Error.
errors.DatabaseError
errors.Error