Documentation
¶
Index ¶
Constants ¶
View Source
const (
ErrorReportName = "operation_errors"
)
Variables ¶
View Source
var (
MErrorReport = app_msg.Apply(&MsgErrorReport{}).(*MsgErrorReport)
)
Functions ¶
This section is empty.
Types ¶
type ErrorReport ¶
type ErrorReport interface {
Up(ctl app_control.Control) error
Down()
ErrorListener(err error, mouldId, batchId string, p interface{})
}
func NewErrorReport ¶
func NewErrorReport(lg esl.Logger, wb app_workspace.Bundle, ui app_ui.UI) ErrorReport
func NewMock ¶
func NewMock() ErrorReport
type ErrorReportRow ¶
type ErrorReportRow struct {
OperationName string `json:"operation_name"`
BatchId string `json:"batch_id"`
Data json.RawMessage `json:"data"`
Error string `json:"error"`
}
type MsgErrorReport ¶
Click to show internal directories.
Click to hide internal directories.