gerror

package
v0.0.0-...-f3abbe6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNil      = error(nil)
	ErrNotFound = errors.Errorf("not found") // this is not a really run error, it means Database/Collection not exist in mongodb.
)

Functions

func Error2Fatal

func Error2Fatal(err error) error

func Errorf

func Errorf(format string, arguments ...interface{}) error

func Fatalf

func Fatalf(format string, arguments ...interface{}) error

func GetStack

func GetStack(err error) string

func IsFatal

func IsFatal(err error) bool

func New

func New(format string, a ...interface{}) error

Types

type GError

type GError struct {
}

Jump to

Keyboard shortcuts

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