stepfail

package
v0.59.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package stepfail builds the classified failures built-in strategies end their Steps with, so every strategy normalizes diagnostic text the same way.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Failure

func Failure(kind run.FailureKind, code, message string) (run.Failure, error)

Failure classifies a strategy failure. The message is normalized, so dynamic text such as an error's message always forms a valid Failure.

func Transition

func Transition(consumedSignals uint32, kind run.FailureKind, code, message string) (run.Transition, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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