step

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: MIT Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	StepID, Tag, ShortMsg string
	Err                   error
	Recommendations       Recommendation
}

Error is an error occuring top level in a step

func NewError

func NewError(stepID, tag string, err error, shortMsg string) *Error

NewError constructs a step.Error

func NewErrorWithRecommendations

func NewErrorWithRecommendations(stepID, tag string, err error, shortMsg string, recommendations Recommendation) *Error

NewErrorWithRecommendations constructs a step.Error

func (*Error) Error

func (e *Error) Error() string

type Recommendation

type Recommendation map[string]interface{}

Recommendation interface

Jump to

Keyboard shortcuts

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