hawkerr

package
v0.1.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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BridgeError

type BridgeError struct {
	Bridge string // e.g., "yaad", "trace", "sight", "inspect"
	Op     string // e.g., "Remember", "Recall", "Enable"
	Reason string // human-readable reason
	Err    error  // underlying error, if any
}

BridgeError represents a structured error from a bridge component. It captures which bridge failed, the operation attempted, and the underlying reason or wrapped error.

func NewBridgeError

func NewBridgeError(bridge, op, reason string, err error) *BridgeError

NewBridgeError creates a BridgeError with optional wrapped error.

func (*BridgeError) Error

func (e *BridgeError) Error() string

func (*BridgeError) Unwrap

func (e *BridgeError) Unwrap() error

Jump to

Keyboard shortcuts

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