handleErr

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInValidCurrencyFormat = fmt.Errorf("invalid currency/amount format")
View Source
var ErrInValidEntityID = fmt.Errorf("invalid entity id")

Functions

func CaptureMongoError

func CaptureMongoError(err error) (int, error)

Capture all mongo db error return code and error

Types

This section is empty.

Jump to

Keyboard shortcuts

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