auth/errors.go

15 lines
669 B
Go
Raw Normal View History

2024-09-26 09:06:17 +00:00
package auth
import "errors"
var (
2024-09-13 21:41:29 +00:00
ErrCantGetConfiguratorData = errors.New("cant get data from configurator url")
ErrCantGetAuthorizationURL = errors.New("cant get url to recirect user to")
ErrCantCreateTokenRequests = errors.New("cant create requesats to get token with code")
ErrCantSendRequestsForToken = errors.New("cant send requests for token with code")
ErrCantGetTokenForCode = errors.New("cant get oauth token with code")
ErrWrongResponseFromServer = errors.New("cant get access token from server")
2024-09-15 18:42:07 +00:00
ErrCantGetUserInfo = errors.New("cant get user info")
ErrCreateRequestForUserInfo = errors.New("cant create request for get user")
)