otlp

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsContext

func AsContext(err error) []attribute.KeyValue

Types

type Error

type Error struct {
	*errorcontext.BaseError[[]attribute.KeyValue]
}

func NewError

func NewError(err error, context ...attribute.KeyValue) *Error

func (*Error) Context

func (e *Error) Context() []attribute.KeyValue

Jump to

Keyboard shortcuts

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