BLError

package
v0.0.0-...-e0e71cc Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Panic

func Panic(err error)

Panic performs panic with BLError.

func Panicf

func Panicf(format string, params ...interface{})

Panic performs panic with formatted BLError.

Types

type Instance

type Instance struct {
	Msg string
}

Instance represents errors from business layer.

func New

func New(format string, params ...interface{}) Instance

New creates new BLError instance.

func (Instance) Error

func (i Instance) Error() string

Error gets BLError message string.

Jump to

Keyboard shortcuts

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