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.
Click to show internal directories.
Click to hide internal directories.