suppress

package
v0.0.0-...-9bec60d Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISuppress

type ISuppress interface {
	Suppress(err error)
	WarnOnce(err error)
}

type PanicAll

type PanicAll struct {
}

func (PanicAll) Restore

func (PanicAll) Restore() error

func (PanicAll) Suppress

func (PanicAll) Suppress(err error)

func (PanicAll) WarnOnce

func (PanicAll) WarnOnce(err error)

type Store

type Store struct {
	Err error
}

func (*Store) Restore

func (s *Store) Restore() error

func (*Store) Suppress

func (s *Store) Suppress(err error)

func (*Store) WarnOnce

func (s *Store) WarnOnce(err error)

Jump to

Keyboard shortcuts

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