errors

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrInternal

type ErrInternal struct {
	Message string `json:"message"`
}

ErrInternal represents an internal error.

func (ErrInternal) Error

func (e ErrInternal) Error() string

Error returns the error message.

type ErrInvalidPayment

type ErrInvalidPayment struct {
	Message string `json:"message"`
}

ErrInvalidPayment represents an invalid payment error.

func (ErrInvalidPayment) Error

func (e ErrInvalidPayment) Error() string

Error returns the error message.

type ErrPurchaseFailed

type ErrPurchaseFailed struct {
	Message string `json:"message"`
}

ErrPurchaseFailed represents a purchase failed error.

func (ErrPurchaseFailed) Error

func (e ErrPurchaseFailed) Error() string

Error returns the error message.

Jump to

Keyboard shortcuts

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