errors

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const HTTPStatusErrorLen = len(HTTPStatusError400)

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State string

func (State) Error

func (e State) Error() string

func (State) KV

func (e State) KV(kv ...interface{}) Struct

type StatusError

type StatusError string
const HTTPStatusError400 StatusError = "|400| "

func (StatusError) Error

func (e StatusError) Error() string

type String

type String string

func (String) Error

func (e String) Error() string

func (String) KV

func (e String) KV(kv ...interface{}) Struct

type StringF

type StringF string

func (StringF) Error

func (e StringF) Error() string

func (StringF) F

func (e StringF) F(v ...interface{}) Struct

func (StringF) KV

func (e StringF) KV(kv ...interface{}) Struct

type Struct

type Struct struct {
	// contains filtered or unexported fields
}

func KV

func KV(kv ...interface{}) Struct

func (Struct) Error

func (e Struct) Error() string

func (Struct) F

func (e Struct) F(v ...interface{}) Struct

func (Struct) Is

func (e Struct) Is(target error) bool

func (Struct) KV

func (e Struct) KV(kv ...interface{}) Struct

Jump to

Keyboard shortcuts

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