errors

package
v0.0.0-...-d39b1a8 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsErr

func IsErr(err error, target error) bool

func NewFromFormat

func NewFromFormat(format string, args ...any) error

func NewFromText

func NewFromText(text string) error

Types

type ErrorResponse

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

func ToErrorResponse

func ToErrorResponse(message string) *ErrorResponse

func ToErrorResponseF

func ToErrorResponseF(format string, args ...any) *ErrorResponse

Jump to

Keyboard shortcuts

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