ierr

package
v0.0.0-...-90dec0a Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package ierr provides helpers for common errors when implementing service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadRequest

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

BadRequest is used with invalid request arguments

func Internal

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

Internal should be used with care because it will trigger a client retry

func Storage

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

Storage is used with any database reported errors

Types

This section is empty.

Jump to

Keyboard shortcuts

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