goerrors

package
Version: v2.0.0-beta.10 Latest Latest
Warning

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

Go to latest
Published: May 28, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package goerrors provides a merry hook to integrate go-error stacktraces with merry. The hook will detect errors created with github.com/goerrors/errors, and translate it's stack into a merry stack.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install()

Install installs IntegrateStacks as a merry hook.

func IntegrateStacks

func IntegrateStacks() merry.Wrapper

IntegrateStacks searches the error chain for errors implementing callerser and returning a non-empty stack. It attaches the stack to the error using merry.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL