Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPipelineErrors ¶
func GetPipelineErrors(err error) []*types.PipelineError
func HasBlockingErrors ¶
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 CompilerErrorData ¶
type DeprecationErrorData ¶
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
Click to show internal directories.
Click to hide internal directories.