errorcontext

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package errorcontext represents a marshalling or unmarshalling call stack for use in error messages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorContext

type ErrorContext []segment

func (ErrorContext) String

func (ctx ErrorContext) String() string

func (ErrorContext) WithField

func (ctx ErrorContext) WithField(n string, t reflect.Type) ErrorContext

func (ErrorContext) WithIndex

func (ctx ErrorContext) WithIndex(i int, t reflect.Type) ErrorContext

func (ErrorContext) WithKey

func (ctx ErrorContext) WithKey(k string, t reflect.Type) ErrorContext

Jump to

Keyboard shortcuts

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