apperror

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStripeErrorMessage

func GetStripeErrorMessage(e error) (string, error)

GetStripeErrorMessage extracts the message from the built-in Stripe error

Types

type RESTError

type RESTError struct {
	M string `json:"error"`
}

func (*RESTError) Error

func (e *RESTError) Error() string

Jump to

Keyboard shortcuts

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