func (di *DefaultIgnoreErrorStrategy) ContextMissing(v interface{}) {
}
ContextMissing ignores an error message when the
segment context is missing.
package ctxmissing
import "github.com/aws/aws-xray-sdk-go/internal/logger"
var RuntimeErrorStrategy = "RUNTIME_ERROR"
var LogErrorStrategy = "LOG_ERROR"
var IgnoreErrorStrategy = "IGNORE_ERROR"
type DefaultRuntimeErrorStrategy struct{}
type DefaultLogErrorStrategy struct{}
type DefaultIgnoreErrorStrategy struct{}
func NewDefaultRuntimeErrorStrategy() *DefaultRuntimeErrorStrategy {
	return &DefaultRuntimeErrorStrategy{}
}
func NewDefaultLogErrorStrategy() *DefaultLogErrorStrategy {
	return &DefaultLogErrorStrategy{}
}
func NewDefaultIgnoreErrorStrategy() *DefaultIgnoreErrorStrategy {
	return &DefaultIgnoreErrorStrategy{}
}
func (dr *DefaultRuntimeErrorStrategy) ContextMissing(v interface{}) {
	panic(v)
}
func (dl *DefaultLogErrorStrategy) ContextMissing(v interface{}) {
	logger.Errorf("Suppressing AWS X-Ray context missing panic: %v", v)
}