errors.go 311 B

12345678910111213
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. package jaegerreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver"
  4. type httpError struct {
  5. msg string
  6. statusCode int
  7. }
  8. func (h httpError) Error() string {
  9. return h.msg
  10. }