Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorReporter ¶
type ErrorReporter struct {
// contains filtered or unexported fields
}
func NewErrorReporter ¶
func NewErrorReporter(client ErrorReporterClient, state *servicestate.ServiceState) *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 ErrorReporterClient ¶
type ErrorReporterClient interface {
ReportError(reportCliErrorRequest clients.ReportErrorRequest, uri string) (StatusCode int, Error error)
}
Click to show internal directories.
Click to hide internal directories.