stepfail

package
v0.61.0 Latest Latest
Warning

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

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

Documentation

Overview

Package stepfail builds the classified failures built-in strategies record: the Failures that end their Steps and the failed settlements their dispatchers return, 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 Settlement added in v0.61.0

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

Settlement is a definite dispatcher failure that carries no domain details.

func Transition

func Transition(consumedMessages 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