errors

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpecError

type SpecError struct {
	// contains filtered or unexported fields
}

SpecError is a thread-safe error collector for OpenAPI specification errors.

func (*SpecError) Add

func (se *SpecError) Add(err error)

func (*SpecError) Error

func (se *SpecError) Error() string

Error implements the error interface for SpecError.

func (*SpecError) Errors

func (se *SpecError) Errors() []error

Errors returns a slice of collected errors.

func (*SpecError) HasErrors

func (se *SpecError) HasErrors() bool

HasErrors checks if there are any collected errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL