step

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 1 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

func (*Error) Unwrap added in v1.0.5

func (e *Error) Unwrap() error

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