errors

package
v0.0.0-...-bbef582 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Custom

func Custom(text string) error

func NewResponseError

func NewResponseError(status int, response []byte) error

Types

type ResponseError

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

func (*ResponseError) Error

func (err *ResponseError) Error() string

func (*ResponseError) Response

func (err *ResponseError) Response() []byte

func (*ResponseError) Status

func (err *ResponseError) Status() int

Jump to

Keyboard shortcuts

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