errors

package
v0.0.0-...-0835840 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerErrorLevel   = "server_error"
	DataBaseErrorLevel = "database_error"
	ApiErrorLevel      = "api_error"
)

Variables

This section is empty.

Functions

func SetError

func SetError(errorLevel, errorType string, info error) error

Types

type Error

type Error struct {
	ErrorLevel string
	ErrorType  string
	Info       error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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