backend: add: new error messages

This commit is contained in:
Alex
2025-02-18 11:32:33 +01:00
parent 0fab8791f9
commit d1273d3e23

View File

@@ -44,6 +44,8 @@ var (
ValErrParentIDNotSet = errors.New("Parent Membership ID not provided")
ValErrParentIDNotFound = errors.New("Parent Membership ID not found")
ErrSubscriptionNotFound = errors.New("Subscription Model not found")
ErrSubscriptionInUse = errors.New("This subscription is in active use by existing members.")
ErrInvalidSubscriptionData = errors.New("Provided subscription data is invalid. Immutable fields where changed.")
)
var Responses = struct {