errcheck

package
v0.28.3 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package errcheck provides functionality to validate and check errors in the context of Azure Resource Manager (ARM) policy definitions and set definitions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChekerError

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

ChekerError is a custom error type that aggregates multiple errors.

func NewCheckerError

func NewCheckerError() *ChekerError

NewCheckerError creates a new instance of ChekerError with an empty list of errors.

func (*ChekerError) Add

func (v *ChekerError) Add(err error)

Add appends an error to the ChekerError's list of errors.

func (*ChekerError) Error

func (v *ChekerError) Error() string

Error implements the error interface for ChekerError.

func (*ChekerError) HasErrors

func (v *ChekerError) HasErrors() bool

HasErrors checks if there are any errors in the ChekerError's list.

Jump to

Keyboard shortcuts

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