Allow EdgeFinished and NodeFinished to fail with errors

Add an 'err' string argument and return a boolean for success.  Update
call sites to pass an 'err' string argument and check the return value.
This will be useful later for adding logic to these methods that may
fail.
3 files changed