errors

package
v1.65.4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmptyRuleError = LintRuleError{Text: "", ID: "", ObjectID: ""}

Functions

This section is empty.

Types

type LintRuleError

type LintRuleError struct {
	Text     string
	ID       string
	ObjectID string
	Value    interface{}
}

func NewLintRuleError

func NewLintRuleError(id, objectID string, value interface{}, template string, a ...interface{}) LintRuleError

func (*LintRuleError) EqualsTo

func (l *LintRuleError) EqualsTo(candidate LintRuleError) bool

func (*LintRuleError) IsEmpty

func (l *LintRuleError) IsEmpty() bool

type LintRuleErrorsList

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

func (*LintRuleErrorsList) Add

func (*LintRuleErrorsList) ConvertToError

func (l *LintRuleErrorsList) ConvertToError() error

func (*LintRuleErrorsList) Merge

Jump to

Keyboard shortcuts

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