chore(publicip): less coupling with ipinfo.io
This commit is contained in:
9
internal/publicip/api/errors.go
Normal file
9
internal/publicip/api/errors.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package api
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrTokenNotValid = errors.New("token is not valid")
|
||||
ErrTooManyRequests = errors.New("too many requests sent for this month")
|
||||
ErrBadHTTPStatus = errors.New("bad HTTP status received")
|
||||
)
|
||||
Reference in New Issue
Block a user