Files
HouseholdBudgetBook/backend/service/errors.go
T

14 lines
556 B
Go

package service
import "errors"
var (
ErrNotFound = errors.New("record not found")
ErrHasTransactions = errors.New("record has associated transactions")
ErrHasChildren = errors.New("record has children")
ErrNoImportableTransactions = errors.New("no importable transactions")
ErrAccountAlreadyBound = errors.New("account already bound to another asset")
ErrInvalidTransaction = errors.New("invalid transaction field combination")
ErrInvalidPaymentStatus = errors.New("invalid payment status")
)