1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-03-23 21:19:35 +02:00
2024-02-29 07:05:28 +01:00

20 lines
367 B
Cheetah

// Code created by gotmpl. DO NOT MODIFY.
// source: internal/shared/internaltest/errors.go.tmpl
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
package internaltest
type TestError string
var _ error = TestError("")
func NewTestError(s string) error {
return TestError(s)
}
func (e TestError) Error() string {
return string(e)
}