1
0
Fork 0

Fixed ordering of error responses in gharial

This commit is contained in:
Michael Hackstein 2014-07-18 10:53:52 +02:00
parent 6736098790
commit 6481c3217f
1 changed files with 5 additions and 5 deletions

View File

@ -491,16 +491,16 @@
type: "boolean",
description: "flag to drop collection as well"
})
.errorResponse(
Error, actions.HTTP_NOT_FOUND, "The graph could not be found.", function(e) {
return buildError(e, actions.HTTP_NOT_FOUND);
}
)
.errorResponse(
ArangoError, actions.HTTP_BAD,
"The collection is not found or part of an edge definition.", function(e) {
return buildError(e, actions.HTTP_BAD);
}
)
.errorResponse(
Error, actions.HTTP_NOT_FOUND, "The graph could not be found.", function(e) {
return buildError(e, actions.HTTP_NOT_FOUND);
}
);
////////////////////////////////////////////////////////////////////////////////