internal

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: GPL-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "v1.0.0-rc2-dev"

Functions

func CantDecodeHex

func CantDecodeHex(err error, s string) error

CantDecodeHex wraps the given error with the given string that cannot be hex-decoded.

func CantParseFloat64

func CantParseFloat64(err error, s string) error

CantParseFloat64 wraps the given error with the specified string that cannot be parsed into float64.

func CantParseInt64

func CantParseInt64(err error, s string) error

CantParseInt64 wraps the given error with the specified string that cannot be parsed into int64.

func CantParseUint64

func CantParseUint64(err error, s string) error

CantParseUint64 wraps the given error with the specified string that cannot be parsed into uint64.

func CantPerformQuery

func CantPerformQuery(err error, q string) error

CantPerformQuery wraps the given error with the specified query that cannot be executed.

func CantUnmarshalYAML

func CantUnmarshalYAML(err error, v interface{}) error

CantUnmarshalYAML wraps the given error with the designated value, which cannot be unmarshalled into.

func MarshalJSON

func MarshalJSON(v interface{}) ([]byte, error)

MarshalJSON calls json.Marshal and wraps any resulting errors.

func UnmarshalJSON

func UnmarshalJSON(data []byte, v interface{}) error

UnmarshalJSON calls json.Unmarshal and wraps any resulting errors.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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