Files
plugin-manager/errors.go
2024-07-06 04:27:01 -04:00

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")
)