github.com/runner-mei/ql@v1.1.0/errors.go (about)

     1  // Copyright 2014 The ql Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package ql
     6  
     7  import (
     8  	"errors"
     9  )
    10  
    11  var (
    12  	errBeginTransNoCtx          = errors.New("BEGIN TRANSACTION: Must use R/W context, have nil")
    13  	errCommitNotInTransaction   = errors.New("COMMIT: Not in transaction")
    14  	errDivByZero                = errors.New("division by zero")
    15  	errIncompatibleDBFormat     = errors.New("incompatible DB format")
    16  	errNoDataForHandle          = errors.New("read: no data for handle")
    17  	errRollbackNotInTransaction = errors.New("ROLLBACK: Not in transaction")
    18  )