add error string for bad status in response
@@ -21,6 +21,7 @@ const (
// API holds the configuration for the current API client. A client should not
// be modified concurrently.
+const errRequestNotSuccessfull = "Error reported by API"
type API struct {
APIKey string
APIEmail string
