IgnoreErr¶
func IgnoreErr(fn func() error)
IgnoreErr executes a function that returns an error and ignores the error. This is useful for cleanup operations where errors can be safely ignored.
func IgnoreErr(fn func() error)
IgnoreErr executes a function that returns an error and ignores the error. This is useful for cleanup operations where errors can be safely ignored.