Add double close error
This commit is contained in:
parent
9e3955f92f
commit
60309a14a0
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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user