errorcollector

package
v1.9.24 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 3 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorMessageCollector

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

Defines a simple string collector that dedupes messages into affected ranges to save in storage.

func NewErrorMessageCollector

func NewErrorMessageCollector() ErrorMessageCollector

Creates a new efficient ErrorMessageCollector that can dedupe errors for array sub-tasks for storage efficiency.

func (ErrorMessageCollector) Collect

func (c ErrorMessageCollector) Collect(idx int, msg string)

func (ErrorMessageCollector) Length

func (c ErrorMessageCollector) Length() int

func (ErrorMessageCollector) Summary

func (c ErrorMessageCollector) Summary(charLimit int) string

Jump to

Keyboard shortcuts

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