-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
173 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class NetworkXArangoDBException(Exception): | ||
pass | ||
|
||
|
||
EDGE_ALREADY_EXISTS_ERROR_CODE = 1210 | ||
|
||
|
||
class EdgeAlreadyExists(NetworkXArangoDBException): | ||
"""Raised when trying to add an edge that already exists in the graph.""" | ||
|
||
pass | ||
|
||
|
||
class AQLMultipleResultsFound(NetworkXArangoDBException): | ||
"""Raised when multiple results are returned from a query that was expected to return a single result.""" | ||
|
||
pass |
Oops, something went wrong.