otlp

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2025 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