helperr

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package helperr contains error-handling helpers (get it?)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseQuietly

func CloseQuietly(r io.Closer)

CloseQuietly closes the given object ignoring errors. Useful in defer.

func ContainsAny

func ContainsAny(err error, subs ...string) bool

ContainsAny checks if the error message contains any of the substrings

Types

This section is empty.

Jump to

Keyboard shortcuts

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