mirror of
https://github.com/aykhans/sarin.git
synced 2026-10-17 14:53:52 +00:00
✨ Add ErrTimeout to custom_errors package
This commit is contained in:
1 parent
2bea8b3314
commit
b91c32d990
1 file changed
+1
@@ -12,6 +12,7 @@ var (
|
||||
ErrInvalidFile = errors.New("invalid file")
|
||||
ErrInterrupt = errors.New("interrupted")
|
||||
ErrNoInternet = errors.New("no internet connection")
|
||||
ErrTimeout = errors.New("timeout")
|
||||
)
|
||||
|
||||
func As(err error, target any) bool {
|
||||
|
||||
Reference in new issue
Block a user