Files
oneuptime/Common/Server/Utils/Errors.ts

28 lines
1.4 KiB
TypeScript

export default {
BillingService: {
BILLING_NOT_ENABLED: "Billing is not enabled for this server.",
CLIENT_SECRET_MISSING: "client_secret not returned by payment provider.",
CUSTOMER_NOT_FOUND: "Customer not found.",
INVOICE_NOT_GENERATED: "Invoice not generated.",
MIN_REQUIRED_PAYMENT_METHOD_NOT_MET:
"There's only one payment method associated with this account. It cannot be deleted. To delete this payment method please add more payment methods to your account.",
NO_PAYMENTS_METHODS:
"Payment Method not added. Please go to Project Settings > Billing and add a payment method.",
PROMO_CODE_NOT_FOUND: "Promo code not found",
PROMO_CODE_INVALID: "Invalid promo code",
SUBSCRIPTION_ITEM_NOT_FOUND: "Subscription item not found.",
SUBSCRIPTION_NOT_FOUND: "Subscription not found.",
INVOICE_NOT_FOUND: "Invoice not found.",
PAYMENT_INTENT_NOT_FOUND: "Payment intent not found.",
},
TeamMemberService: {
ALREADY_INVITED: "This user has already been invited to this team",
ONE_MEMBER_REQUIRED:
"This team should have at least 1 member who has accepted the invitation.",
LIMIT_REACHED:
"You have reached the user limit. You cannot invite any more users to this project. Please contact billing@oneuptime.com to increase your user limit.",
LIMIT_REACHED_FOR_FREE_PLAN:
"You have reached the user limit for the free plan. Please upgrade your plan to Growth to invite more users.",
},
};