You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Almost all database errors return the DatabaseError exception. They should return a specific exception instead as a DatabaseException can mean almost anything and catch code for specific errors can become very dirty.
Almost all database errors return the DatabaseError exception. They should return a specific exception instead as a DatabaseException can mean almost anything and catch code for specific errors can become very dirty.
See for instance:
terminusdb-client-python/terminusdb_client/client/Client.py
Lines 1452 to 1456 in 0779fe4
This could would be more elegant if DocumentNotFound was a specific exception.
The text was updated successfully, but these errors were encountered: