Add subtype to the limit error

This commit is contained in:
Daniel García Aubert
2019-01-30 16:15:29 +01:00
parent abe28937ca
commit 065f9c0a53
@@ -69,6 +69,7 @@ function populateLimitErrors (errors) {
error.message = 'You are over platform\'s limits: Max render capacity exceeded' +
' Contact CARTO support for more details.';
error.type = 'limit';
error.subtype = 'render-capacity'
error.http_status = 429;
return error;