failonerroroption

package
v0.19.0-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option struct {
	Fail bool
	// contains filtered or unexported fields
}

func From

func New

func New() *Option

func (*Option) ActivatedError

func (o *Option) ActivatedError() error

func (*Option) AddError

func (o *Option) AddError(err error)

func (*Option) AddFlags

func (o *Option) AddFlags(fs *pflag.FlagSet)

func (*Option) GetError

func (o *Option) GetError() error

func (*Option) SetError

func (o *Option) SetError(err error)

Jump to

Keyboard shortcuts

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