errors

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package errors contains error checking and wrapping functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIsChainNotReachableError

func CheckIsChainNotReachableError(err error) error

CheckIsChainNotReachableError checks if error is a `ChainNotReachableError` and wraps it correctly. Returns `WithStack(err)` otherwise.

func IsChainNotReachableError

func IsChainNotReachableError(err error) bool

IsChainNotReachableError checks the geth specific error that is returned in case the connection broke. May not work on all patforms.

Types

This section is empty.

Jump to

Keyboard shortcuts

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