failonerroroption

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 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 added in v0.7.0

func (o *Option) ActivatedError() error

func (*Option) AddError added in v0.7.0

func (o *Option) AddError(err error)

func (*Option) AddFlags

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

func (*Option) GetError added in v0.7.0

func (o *Option) GetError() error

func (*Option) SetError added in v0.7.0

func (o *Option) SetError(err error)

Jump to

Keyboard shortcuts

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