Normalize "no rows" SQL error.
This commit is contained in:
parent
33bc94ed5d
commit
f3bb7b7494
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ import (
|
|||
"go.destrealm.net/vfs"
|
||||
)
|
||||
|
||||
var ErrNoRows = errors.NewError("no rows")
|
||||
var ErrUniqueConstraint = errors.NewError("unique constraint failed")
|
||||
|
||||
type Database struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue