onerror

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: MIT Imports: 6 Imported by: 7

README

onerror

Handle error logging

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(err error)

Log logs an error

func LogHTTP

func LogHTTP(err error, r *http.Response, doNotCloseBody bool) error

LogHTTP logs and HTTP-related error

func Panic

func Panic(err error)

Panic asserts that no error was given

func Warn

func Warn(err error)

Warn warns on error

Types

This section is empty.

Jump to

Keyboard shortcuts

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