feat(blogo,plugin): ErrorHandler plugin
This commit is contained in:
@@ -38,3 +38,8 @@ type Sourcer interface {
|
||||
Plugin
|
||||
Source() (fs.FS, error)
|
||||
}
|
||||
|
||||
type ErrorHandler interface {
|
||||
Plugin
|
||||
Handle(error) (handled bool)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user