refactor: return ErrNoSuchAPIID any time we get 422

This commit is contained in:
James Houlahan
2020-04-17 12:12:44 +02:00
parent 49a64a656c
commit c6f32192b9
5 changed files with 13 additions and 10 deletions

View File

@ -57,7 +57,7 @@ var (
ErrAPINotReachable = errors.New("cannot reach the server")
ErrUpgradeApplication = errors.New("application upgrade required")
ErrNoSuchMessage = errors.New("no such message")
ErrNoSuchAPIID = errors.New("no such API ID")
)
type ErrUnauthorized struct {