auth/errors.go
2024-09-26 11:06:17 +02:00

14 lines
669 B
Go

package auth
import "errors"
var (
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")
ErrCantGetUserInfo = errors.New("cant get user info")
ErrCreateRequestForUserInfo = errors.New("cant create request for get user")
)