errorReporter

package
v1.5.38-rc Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CliClient

type CliClient interface {
	ReportCliError(reportCliErrorRequest cliClient.ReportCliErrorRequest, uri string) (StatusCode int, Error error)
}

type ErrorReporter

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

func NewErrorReporter

func NewErrorReporter(client CliClient, localConfig LocalConfig) *ErrorReporter

func (*ErrorReporter) ReportError

func (reporter *ErrorReporter) ReportError(error interface{}, uri string)

func (*ErrorReporter) ReportPanicError

func (reporter *ErrorReporter) ReportPanicError(panicErr interface{})

func (*ErrorReporter) ReportUnexpectedError

func (reporter *ErrorReporter) ReportUnexpectedError(unexpectedError error)

type LocalConfig

type LocalConfig interface {
	GetLocalConfiguration() (*localConfig.LocalConfig, error)
}

Jump to

Keyboard shortcuts

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