Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dispose ¶
func Dispose(t Disposable) error
Types ¶
type ErrorCollector ¶
type ErrorCollector interface { AddError(err error) AddErrorIfFalse(ok bool, msg string) AddErrorIfNil(target Object, msg string) Result() error }
ErrorCollector 表示一个错误收集器
type ErrorHandler ¶
type ErrorHandler interface {
OnError(err error)
}
func DefaultErrorHandler ¶
func DefaultErrorHandler() ErrorHandler
Click to show internal directories.
Click to hide internal directories.