Add double close error
This commit is contained in:
1
error.go
1
error.go
@@ -12,6 +12,7 @@ type Error string; const (
|
|||||||
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"
|
ErrPigsFlying Error = "play the lottery today"
|
||||||
|
ErrDoubleClose Error = "object was closed twice"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Error fulfills the error interface.
|
// Error fulfills the error interface.
|
||||||
|
|||||||
Reference in New Issue
Block a user