errors

package
v5.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPipelineErrors

func GetPipelineErrors(err error) []*types.PipelineError

func HasBlockingErrors

func HasBlockingErrors(err error) bool

func NewCompilerError

func NewCompilerError(message, file, step string) *types.PipelineError

NewCompilerError creates a new compiler error with file and step context.

Types

type BadHabitErrorData

type BadHabitErrorData struct {
	File  string `json:"file"`
	Field string `json:"field"`
	Docs  string `json:"docs"`
}

type CompilerErrorData

type CompilerErrorData struct {
	File string `json:"file"`
	Step string `json:"step,omitempty"`
}

type DeprecationErrorData

type DeprecationErrorData struct {
	File  string `json:"file"`
	Field string `json:"field"`
	Docs  string `json:"docs"`
}

type LinterErrorData

type LinterErrorData struct {
	File   string `json:"file"`
	Field  string `json:"field"`
	Line   int    `json:"line,omitempty"`
	Column int    `json:"column,omitempty"`
}

func GetLinterData

func GetLinterData(e *types.PipelineError) *LinterErrorData

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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