2019-08-20 19:37:45 +00:00
|
|
|
package db
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
errorBeginTransaction = errors.New("Can not start new transaction")
|
2019-08-25 18:58:45 +00:00
|
|
|
errorGetAsset = errors.New("Can not get asset from go-bindata")
|
2019-08-20 19:37:45 +00:00
|
|
|
errorRowNotFound = errors.New("Can not find row by given ID")
|
|
|
|
errorPrepareStatement = errors.New("Can not prepare sql statement")
|
|
|
|
errorRollbackTransaction = errors.New("Can not rollback transaction")
|
|
|
|
errorScanRow = errors.New("Can not scan row")
|
|
|
|
errorStatementExecute = errors.New("Can not execute statement")
|
|
|
|
errorStatementQuery = errors.New("Can not query statement")
|
|
|
|
errorUnknownMeasuredValueType = errors.New("Unknown measured value type")
|
|
|
|
)
|