Adds default constructor for JobFailure and assertion to ensure error
code is < 0.
Fixes up load failure conditions.