More correct error if no addresses are found

This commit is contained in:
9seconds
2022-03-11 11:19:15 +03:00
parent 6bef4df091
commit b15a8ec4a5
2 changed files with 6 additions and 4 deletions
+3
View File
@@ -2,10 +2,13 @@ package telegram
import (
"context"
"errors"
"github.com/9seconds/mtg/v2/essentials"
)
var ErrNoAddresses = errors.New("no addresses")
type preferIP uint8
const (