mirror of
https://github.com/matt-dunleavy/plugin-manager.git
synced 2025-10-05 09:56:52 +08:00
13 lines
559 B
Go
13 lines
559 B
Go
package pluginmanager
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrPluginAlreadyLoaded = errors.New("plugin already loaded")
|
|
ErrInvalidPluginInterface = errors.New("invalid plugin interface")
|
|
ErrPluginNotFound = errors.New("plugin not found")
|
|
ErrIncompatibleVersion = errors.New("incompatible plugin version")
|
|
ErrMissingDependency = errors.New("missing plugin dependency")
|
|
ErrCircularDependency = errors.New("circular plugin dependency detected")
|
|
ErrPluginSandboxViolation = errors.New("plugin attempted to violate sandbox")
|
|
) |