errors

package
v0.3.28 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2018 License: Apache-2.0 Imports: 3 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckError

func CheckError(err error) bool

CheckError check error and return true if error is nil and return false if error is not nil.

func CheckErrorNoStack

func CheckErrorNoStack(err error) bool

CheckErrorNoStack check error and return true if error is nil and return false if error is not nil.

func CheckErrorNoStackWithMessage

func CheckErrorNoStackWithMessage(err error, msg string, args ...interface{}) bool

CheckErrorNoStackWithMessage check error with message and return true if error is nil and return false if error is not nil.

func CheckErrorWithMessage

func CheckErrorWithMessage(err error, msg string, args ...interface{}) bool

CheckErrorWithMessage check error with message and log messages with stack. And then return true if error is nil and return false if error is not nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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