Exit code/Return code of nipype nodes

Hi,

Is there a way in nipype to retrieve the return code or the exit code after a node has finished?
I am trying to grab the exit codes of the individual nodes within a nipype workflow.

Thank you,
Yeun