errors

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(message string) error

Types

type ErrorPrompt

type ErrorPrompt struct {
	Message string `json:"message"`
}

错误提示

func Prompt

func Prompt(message string) ErrorPrompt

func Promptf

func Promptf(message string, args ...any) ErrorPrompt

func Unauthorized

func Unauthorized(message string) ErrorPrompt

Jump to

Keyboard shortcuts

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