This repository has been archived on 2022-07-30. You can view files and clone it, but cannot push or open issues/pull-requests.
mdb/errors.go

14 lines
309 B
Go

package mdb
import "errors"
var (
ErrMismatchedIDs = errors.New("MismatchedIDs")
ErrDuplicate = errors.New("Duplicate")
ErrNotFound = errors.New("NotFound")
ErrReadOnly = errors.New("ReadOnly")
// Return in update function to abort changes.
ErrAbortUpdate = errors.New("AbortUpdate")
)