PKGBUILD/pkg/storage/db/errors.go

19 lines
792 B
Go
Raw Normal View History

2019-08-20 19:37:45 +00:00
package db
import (
"errors"
)
var (
2020-01-18 13:42:15 +00:00
errorBeginTransaction = errors.New("Failed to start new transaction")
errorGetAsset = errors.New("Failed to get asset from go-bindata")
errorNoRowsAffected = errors.New("No rows affected")
errorRowNotFound = errors.New("Failed to find row by given ID")
errorPrepareStatement = errors.New("Failed to prepare sql statement")
errorRollbackTransaction = errors.New("Failed to rollback transaction")
errorScanRow = errors.New("Failed to scan row")
errorStatementExecute = errors.New("Failed to execute statement")
errorStatementQuery = errors.New("Failed to query statement")
2019-08-20 19:37:45 +00:00
errorUnknownMeasuredValueType = errors.New("Unknown measured value type")
)