@eiannone/tesla-api 1.15.2 → 1.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/TeslaApi.js +1 -0
- package/package.json +1 -1
package/TeslaApi.js
CHANGED
|
@@ -37,6 +37,7 @@ class TeslaApi {
|
|
|
37
37
|
case 401: return ApiError.UNAUTHORIZED;
|
|
38
38
|
case 404: return ApiError.NO_VEHICLE;
|
|
39
39
|
case 405: return ApiError.IN_SERVICE;
|
|
40
|
+
case 406: return ApiError.NETWORK; // Not Acceptable
|
|
40
41
|
case 408: return ApiError.UNAVAILABLE;
|
|
41
42
|
case 500: return ApiError.SERVER;
|
|
42
43
|
case 502: return ApiError.NETWORK; // Bad gateway
|