error_event

package
v1.0.4032 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorEvent

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

*

  • 错误事件 *
  • @create 2023-8-11
  • @author deatil

func New

func New() ErrorEvent

构造函数

func (ErrorEvent) On

func (this ErrorEvent) On(fn ErrorFunc) ErrorEvent

添加

func (ErrorEvent) Trigger

func (this ErrorEvent) Trigger(errs []error)

执行

type ErrorFunc

type ErrorFunc = func([]error)

错误方法

Jump to

Keyboard shortcuts

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