mirror of https://gitee.com/bigwinds/arangodb
Fixed ordering of error responses in gharial
This commit is contained in:
parent
6736098790
commit
6481c3217f
|
@ -491,16 +491,16 @@
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
description: "flag to drop collection as well"
|
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(
|
.errorResponse(
|
||||||
ArangoError, actions.HTTP_BAD,
|
ArangoError, actions.HTTP_BAD,
|
||||||
"The collection is not found or part of an edge definition.", function(e) {
|
"The collection is not found or part of an edge definition.", function(e) {
|
||||||
return buildError(e, actions.HTTP_BAD);
|
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);
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue