Add double close error

This commit is contained in:
Sasha Koshka 2024-12-13 13:30:50 -05:00
parent 9e3955f92f
commit 60309a14a0

View File

@ -12,6 +12,7 @@ type Error string; const (
ErrPathNotAbsolute Error = "path is not absolute"
ErrInsufficientSystem Error = "the system cannot perform this action"
ErrPigsFlying Error = "play the lottery today"
ErrDoubleClose Error = "object was closed twice"
)
// Error fulfills the error interface.