Add error for impossible situations
This commit is contained in:
parent
60c52ee4ce
commit
8c0f78a3f7
1
error.go
1
error.go
@ -11,6 +11,7 @@ type Error string; const (
|
|||||||
ErrPluginNotOwnedByRoot Error = "plugin is not owned by the root user"
|
ErrPluginNotOwnedByRoot Error = "plugin is not owned by the root user"
|
||||||
ErrPathNotAbsolute Error = "path is not absolute"
|
ErrPathNotAbsolute Error = "path is not absolute"
|
||||||
ErrInsufficientSystem Error = "the system cannot perform this action"
|
ErrInsufficientSystem Error = "the system cannot perform this action"
|
||||||
|
ErrPigsFlying Error = "play the lottery today"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Error fulfills the error interface.
|
// Error fulfills the error interface.
|
||||||
|
Loading…
Reference in New Issue
Block a user