mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-13 20:38:33 +00:00
GODT-35: New pmapi client and manager using resty
This commit is contained in:
9
pkg/pmapi/errors.go
Normal file
9
pkg/pmapi/errors.go
Normal file
@ -0,0 +1,9 @@
|
||||
package pmapi
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrNoConnection = errors.New("no internet connection")
|
||||
ErrAPIFailure = errors.New("API returned an error")
|
||||
ErrUnauthorized = errors.New("API client is unauthorized")
|
||||
)
|
||||
Reference in New Issue
Block a user