structerr

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package structerr configures structured error output for structcli-powered CLIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	// FlagName is the JSON Schema flag name used to detect if
	// JSON Schema introspection is configured (for schema-enriched errors).
	// If empty, HandleError still works but without schema enrichment.
	FlagName string
}

Options configures structured error handling.

Jump to

Keyboard shortcuts

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