errorcollector

package
v1.9.35 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

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