errors

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package errors provides error hint inference for structured step failure output.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hint

type Hint struct {
	Text          string
	SuggestedStep string
}

Hint holds an inferred human-readable suggestion and an optional YAML fix.

func InferHint

func InferHint(stderr string) Hint

InferHint returns the first matching hint for the given stderr output. Returns a zero-value Hint (empty Text) when no rule matches.

Jump to

Keyboard shortcuts

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