Documentation ¶
Index ¶
- Variables
- func CantDecodeHex(err error, s string) error
- func CantParseFloat64(err error, s string) error
- func CantParseInt64(err error, s string) error
- func CantParseUint64(err error, s string) error
- func CantPerformQuery(err error, q string) error
- func CantUnmarshalYAML(err error, v interface{}) error
- func MarshalJSON(v interface{}) ([]byte, error)
- func UnmarshalJSON(data []byte, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
var Version = version.Version("1.2.0", "$Format:%(describe)$", "$Format:%H$")
Version contains version and Git commit information.
The placeholders are replaced on `git archive` using the `export-subst` attribute.
Functions ¶
func CantDecodeHex ¶
CantDecodeHex wraps the given error with the given string that cannot be hex-decoded.
func CantParseFloat64 ¶
CantParseFloat64 wraps the given error with the specified string that cannot be parsed into float64.
func CantParseInt64 ¶
CantParseInt64 wraps the given error with the specified string that cannot be parsed into int64.
func CantParseUint64 ¶
CantParseUint64 wraps the given error with the specified string that cannot be parsed into uint64.
func CantPerformQuery ¶
CantPerformQuery wraps the given error with the specified query that cannot be executed.
func CantUnmarshalYAML ¶
CantUnmarshalYAML wraps the given error with the designated value, which cannot be unmarshalled into.
func MarshalJSON ¶
MarshalJSON calls json.Marshal and wraps any resulting errors.
func UnmarshalJSON ¶
UnmarshalJSON calls json.Unmarshal and wraps any resulting errors.
Types ¶
This section is empty.