Merge branch 'release/v1.2.7' into devel

This commit is contained in:
Jakub
2020-04-27 15:54:02 +02:00
5 changed files with 21 additions and 8 deletions

View File

@ -56,10 +56,16 @@ var (
ErrInvalidToken = errors.New("refresh token invalid")
ErrAPINotReachable = errors.New("cannot reach the server")
ErrUpgradeApplication = errors.New("application upgrade required")
ErrNoSuchAPIID = errors.New("no such API ID")
)
type ErrUnprocessableEntity struct {
error
}
func (err *ErrUnprocessableEntity) Error() string {
return err.error.Error()
}
type ErrUnauthorized struct {
error
}