joberror

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorList

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

func NewErrorList

func NewErrorList(limit int32) *ErrorList

func (*ErrorList) AddError

func (el *ErrorList) AddError(err *JobError)

func (*ErrorList) Errors

func (el *ErrorList) Errors() []*JobError

func (*ErrorList) MarshalJSON

func (el *ErrorList) MarshalJSON() ([]byte, error)

type JobError

type JobError struct {
	Timestamp time.Time `json:"timestamp"`
	Message   string    `json:"message"`
	Query     string    `json:"query"`
	StmtType  string    `json:"stmt-type"`
}

Jump to

Keyboard shortcuts

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