Documentation ¶ Index ¶ func AsContext(err error) []attribute.KeyValue type Error func NewError(err error, context ...attribute.KeyValue) *Error func (e *Error) Context() []attribute.KeyValue 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 Source Files ¶ View all Source files otlp.go Click to show internal directories. Click to hide internal directories.