helpers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Log is the global logger

Functions

func IsTerminal

func IsTerminal() bool

IsTerminal returns true if stdout is a terminal

func SetupLogger

func SetupLogger(level string)

SetupLogger configures the global logger

func WrapError

func WrapError(operation, details string, err error) error

WrapError creates a structured error

Types

type YamlspecError

type YamlspecError struct {
	Operation string
	Details   string
	Err       error
}

YamlspecError is a structured error with operation context

func (*YamlspecError) Error

func (e *YamlspecError) Error() string

func (*YamlspecError) Unwrap

func (e *YamlspecError) Unwrap() error

Jump to

Keyboard shortcuts

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