pipe

package
v0.0.0-...-c608f4e Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package pipe provides generic erros for pipes to use.

Index

Constants

This section is empty.

Variables

View Source
var ErrSkipPublishEnabled = Skip("publishing is disabled")

ErrSkipPublishEnabled happens if --skip-publish is set. It means that the part of a Pipe that publishes its artifacts was not run.

Functions

func IsSkip

func IsSkip(err error) bool

IsSkip returns true if the error is an ErrSkip

Types

type ErrSkip

type ErrSkip struct {
	// contains filtered or unexported fields
}

ErrSkip occurs when a pipe is skipped for some reason

func Skip

func Skip(reason string) ErrSkip

Skip skips this pipe with the given reason

func (ErrSkip) Error

func (e ErrSkip) Error() string

Error implements the error interface. returns the reason the pipe was skipped

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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