Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( New = errors.New Is = errors.Is )
View Source
var (
ErrorMissingArgument = errors.New("argument requested but not provided")
)
View Source
var ErrorSkipValidation = errors.New("skipping step validation")
ErrorSkipValidation can be returned in the Client's Validate interface to prevent the error from stopping the pipeline execution
Functions ¶
This section is empty.
Types ¶
type ErrorStack ¶
type ErrorStack struct {
Errors []error
}
func (*ErrorStack) Peek ¶
func (e *ErrorStack) Peek() error
Peek returns the error at the end of the stack without removing it.
func (*ErrorStack) Pop ¶
func (e *ErrorStack) Pop() error
Pop returns the error at the end of the stack and removes it.
func (*ErrorStack) Push ¶
func (e *ErrorStack) Push(err error)
type PipelineError ¶
func NewPipelineError ¶
func NewPipelineError(err string, desc string) *PipelineError
func (*PipelineError) Error ¶
func (p *PipelineError) Error() string
Click to show internal directories.
Click to hide internal directories.