apierror

package
v1.0.0-base Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiError

type ApiError interface {
	Error() string
	Status() int
	Message() string
	BusinessCode() *apperror.BusinessCode
}

func New

func New(err error, status int, msg string, bc *apperror.BusinessCode) ApiError

Jump to

Keyboard shortcuts

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