Files
step/error.go

18 lines
624 B
Go
Raw Normal View History

2024-12-05 13:15:22 -05:00
package step
// Error enumerates errors common to this package.
type Error string; const (
2024-12-10 13:18:54 -05:00
ErrCircularInheritance Error = "circular inheritance"
ErrMetaMalformed Error = "metadata is malformed"
ErrMetaNeverClosed Error = "metadata is never closed"
ErrTypeMismatch Error = "type mismatch"
ErrPluginBadSymbol Error = "plugin has an incorrect symbol"
ErrPluginNotOwnedByRoot Error = "plugin is not owned by the root user"
ErrInsufficientSystem Error = "the system cannot perform this action"
2024-12-05 13:15:22 -05:00
)
// Error fulfills the error interface.
func (err Error) Error () string {
return string(err)
}