Bumps [github.com/go-openapi/swag](https://github.com/go-openapi/swag) from 0.23.0 to 0.23.1. - [Commits](https://github.com/go-openapi/swag/compare/v0.23.0...v0.23.1) --- updated-dependencies: - dependency-name: github.com/go-openapi/swag dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
15 lines
286 B
Go
15 lines
286 B
Go
package swag
|
|
|
|
type swagError string
|
|
|
|
const (
|
|
// ErrYAML is an error raised by YAML utilities
|
|
ErrYAML swagError = "yaml error"
|
|
|
|
// ErrLoader is an error raised by the file loader utility
|
|
ErrLoader swagError = "loader error"
|
|
)
|
|
|
|
func (e swagError) Error() string {
|
|
return string(e)
|
|
}
|