cerrors

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrAlreadyDone

type ErrAlreadyDone struct {
}

ErrAlreadyDone indicates that action already happened

func (*ErrAlreadyDone) Error

func (e *ErrAlreadyDone) Error() string

type ErrTestStepClosedChannels

type ErrTestStepClosedChannels struct {
	StepName string
}

ErrTestStepClosedChannels indicates that the test step returned after closing its output channels, which constitutes an API violation

func (*ErrTestStepClosedChannels) Error

func (e *ErrTestStepClosedChannels) Error() string

Error returns the error string associated with the error

type ErrTestStepLostTargets

type ErrTestStepLostTargets struct {
	StepName string
	Targets  []string
}

ErrTestStepLostTargets indicates that targets have been lost during test run.

func (*ErrTestStepLostTargets) Error

func (e *ErrTestStepLostTargets) Error() string

Error returns the error string associated with the error

type ErrTestStepPaniced

type ErrTestStepPaniced struct {
	StepName   string
	StackTrace string
}

ErrTestStepPaniced indicates that a test step's method panicked.

func (*ErrTestStepPaniced) Error

func (e *ErrTestStepPaniced) Error() string

Error returns the error string associated with the error

type ErrTestStepReturnedDuplicateResult

type ErrTestStepReturnedDuplicateResult struct {
	StepName string
	Target   string
}

ErrTestStepReturnedDuplicateResult indicates that a test step returned result twice for the same target.

func (*ErrTestStepReturnedDuplicateResult) Error

Error returns the error string associated with the error

type ErrTestStepReturnedNoTarget

type ErrTestStepReturnedNoTarget struct {
	StepName string
}

ErrTestStepReturnedNoTarget indicates that a test step returned nil Target

func (*ErrTestStepReturnedNoTarget) Error

Error returns the error string associated with the error

type ErrTestStepReturnedUnexpectedResult

type ErrTestStepReturnedUnexpectedResult struct {
	StepName string
	Target   string
}

ErrTestStepReturnedUnexpectedResult indicates that a test step returned result for a target that was not given to it.

func (*ErrTestStepReturnedUnexpectedResult) Error

Error returns the error string associated with the error

type ErrTestStepsNeverReturned

type ErrTestStepsNeverReturned struct {
	StepNames []string
}

ErrTestStepsNeverReturned indicates that one or multiple TestSteps

did not complete when the test terminated or when the pipeline

received a cancellation or pause signal

func (*ErrTestStepsNeverReturned) Error

func (e *ErrTestStepsNeverReturned) Error() string

Error returns the error string associated with the error

Jump to

Keyboard shortcuts

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