18 / reference
Exceptions reference
Errors that callers should handle at the supported API boundary.
Edit this pageUpdated with the source
Graph and value validation use the project error types where the implementation documents them. Invalid sources, negative hop limits, invalid epsilon/k/omega values, and closure budgets fail explicitly rather than silently returning a plausible result.
When writing an integration, test the error path for the parameters your application accepts. Error messages are part of the debugging experience, not a substitute for input validation.