orcherr

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpsOrchError

type OpsOrchError struct {
	Code    string
	Message string
	Err     error
}

OpsOrchError provides a typed error that can be surfaced to API clients without leaking provider-specific details.

func New

func New(code, message string, err error) OpsOrchError

New constructs a new typed OpsOrchError.

func (OpsOrchError) Error

func (e OpsOrchError) Error() string

Error implements the error interface.

func (OpsOrchError) Unwrap

func (e OpsOrchError) Unwrap() error

Unwrap exposes the underlying error for errors.Is/As.

Jump to

Keyboard shortcuts

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