bipbop-webservice
Version:
Chamada aos serviços da BIPBOP via NodeJS ou pelo navegador.
44 lines (41 loc) • 2.91 kB
JavaScript
var ErrorCodes;
(function (ErrorCodes) {
ErrorCodes[ErrorCodes["E_INTERNAL_USER_BLOCKED"] = 0] = "E_INTERNAL_USER_BLOCKED";
ErrorCodes[ErrorCodes["E_TABLE_NOT_FOUND"] = 1] = "E_TABLE_NOT_FOUND";
ErrorCodes[ErrorCodes["E_DATABASE_NOT_FOUND"] = 1] = "E_DATABASE_NOT_FOUND";
ErrorCodes[ErrorCodes["E_NOT_FOUND"] = 2] = "E_NOT_FOUND";
ErrorCodes[ErrorCodes["E_INVALID_ARGUMENT"] = 3] = "E_INVALID_ARGUMENT";
ErrorCodes[ErrorCodes["E_SYNTAX_ERROR"] = 3] = "E_SYNTAX_ERROR";
ErrorCodes[ErrorCodes["E_MISSING_ARGUMENT"] = 4] = "E_MISSING_ARGUMENT";
ErrorCodes[ErrorCodes["E_MULTIPLE_RESULTS_FOUND"] = 5] = "E_MULTIPLE_RESULTS_FOUND";
ErrorCodes[ErrorCodes["E_BLOCKED_IP"] = 6] = "E_BLOCKED_IP";
ErrorCodes[ErrorCodes["E_UNEXPECTED_HTTP_CODE"] = 7] = "E_UNEXPECTED_HTTP_CODE";
ErrorCodes[ErrorCodes["E_TIMEOUT"] = 7] = "E_TIMEOUT";
ErrorCodes[ErrorCodes["E_LOAD_PAGE_FAILED"] = 7] = "E_LOAD_PAGE_FAILED";
ErrorCodes[ErrorCodes["E_PROXY_CONFIGURATION_ERROR"] = 7] = "E_PROXY_CONFIGURATION_ERROR";
ErrorCodes[ErrorCodes["E_REMOTE_SITE_UNDER_MAINTENANCE"] = 8] = "E_REMOTE_SITE_UNDER_MAINTENANCE";
ErrorCodes[ErrorCodes["E_AUTHENTICATION_FAILURE"] = 9] = "E_AUTHENTICATION_FAILURE";
ErrorCodes[ErrorCodes["E_INTERNAL_SERVER_ERROR"] = 11] = "E_INTERNAL_SERVER_ERROR";
ErrorCodes[ErrorCodes["E_INTERNAL_ERROR"] = 11] = "E_INTERNAL_ERROR";
ErrorCodes[ErrorCodes["E_QUERY_LIMIT"] = 12] = "E_QUERY_LIMIT";
ErrorCodes[ErrorCodes["E_PASSWORD_REQUIRED"] = 20] = "E_PASSWORD_REQUIRED";
ErrorCodes[ErrorCodes["E_JUSTICE_SECRET"] = 21] = "E_JUSTICE_SECRET";
ErrorCodes[ErrorCodes["E_EXPECTED_DATA_NOT_FOUND"] = 24] = "E_EXPECTED_DATA_NOT_FOUND";
ErrorCodes[ErrorCodes["E_CAPTCHA_BREAK_FAILED"] = 25] = "E_CAPTCHA_BREAK_FAILED";
ErrorCodes[ErrorCodes["E_INTERNAL_PUSH_LABEL"] = 26] = "E_INTERNAL_PUSH_LABEL";
ErrorCodes[ErrorCodes["E_UNDER_MAINTENANCE"] = 27] = "E_UNDER_MAINTENANCE";
ErrorCodes[ErrorCodes["E_SITE_MESSAGE"] = 28] = "E_SITE_MESSAGE";
ErrorCodes[ErrorCodes["E_BLOCKED_BY_CONFIG"] = 29] = "E_BLOCKED_BY_CONFIG";
ErrorCodes[ErrorCodes["E_LEGAL_REVIEW"] = 30] = "E_LEGAL_REVIEW";
ErrorCodes[ErrorCodes["E_RESOURCE_UNAVAILABLE"] = 31] = "E_RESOURCE_UNAVAILABLE";
ErrorCodes[ErrorCodes["E_INTERNAL_EMAIL_UNCHECKED"] = 32] = "E_INTERNAL_EMAIL_UNCHECKED";
ErrorCodes[ErrorCodes["E_INTERNAL_NOT_READY"] = 33] = "E_INTERNAL_NOT_READY";
ErrorCodes[ErrorCodes["E_OUTDATED"] = 1522] = "E_OUTDATED";
ErrorCodes[ErrorCodes["E_ARCHIVED_PROCESS"] = 1522] = "E_ARCHIVED_PROCESS";
ErrorCodes[ErrorCodes["E_WITHOUT_PROCEEDINGS"] = 1523] = "E_WITHOUT_PROCEEDINGS";
ErrorCodes[ErrorCodes["E_EMAIL_UNCHECKED"] = 1525] = "E_EMAIL_UNCHECKED";
ErrorCodes[ErrorCodes["E_BLOCKED_USER"] = 1526] = "E_BLOCKED_USER";
ErrorCodes[ErrorCodes["E_UNKNOWN"] = 1524] = "E_UNKNOWN";
})(ErrorCodes || (ErrorCodes = {}));
var ErrorCodes$1 = ErrorCodes;
module.exports = ErrorCodes$1;