errors

package
v0.0.0-...-be065d1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var None = Error{Message: "success"}

Functions

func GetServiceErrorCode

func GetServiceErrorCode(err error) int

func New

func New(format string, args ...interface{}) error

func Wrap

func Wrap(err error) error

Types

type Error

type Error struct {
	Message string `json:"message" description:"error message"`
}

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

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