mirror of
https://github.com/grafana/loki.git
synced 2026-03-13 09:33:58 +08:00
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com> Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
16 lines
467 B
Go
16 lines
467 B
Go
// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
/*
|
|
Package errors provides an Error interface and several concrete types
|
|
implementing this interface to manage API errors and JSON-schema validation
|
|
errors.
|
|
|
|
A middleware handler ServeError() is provided to serve the errors types
|
|
it defines.
|
|
|
|
It is used throughout the various go-openapi toolkit libraries
|
|
(https://github.com/go-openapi).
|
|
*/
|
|
package errors
|