error

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorUnknown        = errors.New("unknown error")
	ErrorNotImplemented = errors.New("not implemented")
)

Functions

This section is empty.

Types

type ErrorCode

type ErrorCode int
const (
	ErrorCodeUnknown        ErrorCode = 13703
	ErrorCodeNotImplemented ErrorCode = 13704
	ErrorCodeBadRequest     ErrorCode = 13705
)

type ErrorResponse

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

Jump to

Keyboard shortcuts

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