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)
}
Click to show internal directories.
Click to hide internal directories.