You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-07-03 00:27:03 +02:00
14 lines
185 B
Go
14 lines
185 B
Go
![]() |
package testing
|
||
|
|
||
|
type TestError string
|
||
|
|
||
|
var _ error = TestError("")
|
||
|
|
||
|
func NewTestError(s string) error {
|
||
|
return TestError(s)
|
||
|
}
|
||
|
|
||
|
func (e TestError) Error() string {
|
||
|
return string(e)
|
||
|
}
|