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
Given the increasing complexity of the library, it could be valuable to create custom exceptions rather than generic ValueError and KeyError.
This helps with:
readability: the name of the exception is informative EdgeTypeMismatchException, UnknownNodeException, MaterializationError
maintainability: the exceptions can be gradually improved by modifying the message in a central place instead of attaching custom messages to individual KeyError around the codebase
debugging: maintainers and users can make a better use of the debugger and exception handling to debug and test their code
Given the increasing complexity of the library, it could be valuable to create custom exceptions rather than generic
ValueError
andKeyError
.This helps with:
EdgeTypeMismatchException
,UnknownNodeException
,MaterializationError
KeyError
around the codebaserelated:
@pipe
withoutstep()
#1218The text was updated successfully, but these errors were encountered: