1
0
Fork 0

moved to actions.errors

This commit is contained in:
Frank Celler 2013-01-05 11:15:40 +01:00
parent 0747d3703e
commit ba26708f94
2 changed files with 2 additions and 7 deletions

View File

@ -426,9 +426,7 @@ function get_api_collection (req, res) {
}
else {
actions.resultNotFound(req,
res,
arangodb.errors.ERROR_HTTP_NOT_FOUND.code,
actions.resultNotFound(req, res, actions.errors.ERROR_HTTP_NOT_FOUND,
"expecting one of the resources 'count', 'figures', 'properties', 'parameter'");
}
}
@ -699,9 +697,7 @@ function put_api_collection (req, res) {
put_api_collection_rename(req, res, collection);
}
else {
actions.resultNotFound(req,
res,
arangodb.errors.ERROR_HTTP_NOT_FOUND.code,
actions.resultNotFound(req, res, actions.errors.ERROR_HTTP_NOT_FOUND,
"expecting one of the actions 'load', 'unload', 'truncate', 'properties', 'rename'");
}
}

View File

@ -47,7 +47,6 @@ var internal = require("internal");
exports.db = internal.db;
exports.ArangoCollection = internal.ArangoCollection;
exports.errors = internal.errors;
////////////////////////////////////////////////////////////////////////////////
/// @}