Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrExceedsFreeQuota indicates the requested operation exceeds the free quota. ErrExceedsFreeQuota = errors.New("request exceeds free quota") // ErrSubscriptionExists indicates the subscription already exists and has a healthy status. ErrSubscriptionExists = errors.New("subscription exists") // ErrSubscriptionCanceled indicates the subscription was canceled by the user or as a result of failed payment. ErrSubscriptionCanceled = errors.New("subscription canceled") // ErrSubscriptionPaymentRequired indicates the subscription is in a terminal status as a result of failed payment. ErrSubscriptionPaymentRequired = errors.New("subscription payment required") )
Functions ¶
func StatusCheck ¶
StatusCheck returns a non-nil error if the subscription status is considered healthy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.