gherror

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HadErrors added in v0.2.0

func HadErrors() bool

HadErrors returns true if any errors have been emitted.

Types

type Error

type Error interface {
	// Emit emits an error message to GitHub Actions.
	Emit(msg string, args ...interface{})
}

Error is an interface for emitting errors to GitHub Actions.

func New

func New(title string) Error

New creates a new class of GitHub Action errors with the given title.

Jump to

Keyboard shortcuts

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