mirror of
https://github.com/matt-dunleavy/plugin-manager.git
synced 2025-09-27 05:35:59 +08:00
17 lines
718 B
Go
17 lines
718 B
Go
// Copyright (C) 2024 Matt Dunleavy. All rights reserved.
|
|
// Use of this source code is subject to the MIT license
|
|
// that can be found in the LICENSE file.
|
|
|
|
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")
|
|
) |