common

package
v1.13.5-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2025 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUndefined = &AppError{
	Code:    -1,
	Message: "undefined error",
}

ErrUndefined is a generic undefined error

Functions

This section is empty.

Types

type AppError

type AppError struct {
	Code    int
	Message string
}

AppError is an application-level error with a code and message

func (*AppError) Error

func (e *AppError) Error() string

Error implements the error interface

Jump to

Keyboard shortcuts

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