errors.go 790 B

12345678910111213141516171819
  1. // Go MySQL Driver - A MySQL-Driver for Go's database/sql package
  2. //
  3. // Copyright 2013 Julien Schmidt. All rights reserved.
  4. // http://www.julienschmidt.com
  5. //
  6. // This Source Code Form is subject to the terms of the Mozilla Public
  7. // License, v. 2.0. If a copy of the MPL was not distributed with this file,
  8. // You can obtain one at http://mozilla.org/MPL/2.0/.
  9. package mysql
  10. import "errors"
  11. var (
  12. errMalformPkt = errors.New("Malformed Packet")
  13. errPktSync = errors.New("Commands out of sync. You can't run this command now")
  14. errPktSyncMul = errors.New("Commands out of sync. Did you run multiple statements at once?")
  15. errOldPassword = errors.New("It seems like you are using old_passwords, which is unsupported. See https://github.com/Go-SQL-Driver/MySQL/wiki/old_passwords")
  16. )