errors

package
v1.35.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FailedToCreateCustomer          = errors.New("Failed to create Stripe customer.")
	FailedToUpdateCustomer          = errors.New("Failed to update Stripe customer.")
	RefundGreaterThanPayment        = errors.New("The requested refund amount is greater than the paid amount")
	UnableToRefundUnpaidTransaction = errors.New("Unable to refund unpaid transaction")
)

Functions

func New

func New(err error) error

Types

type StripeError

type StripeError struct {
	Type    string
	Message string
	Code    string
	Param   string
}

func (StripeError) Error

func (e StripeError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL