Modified the status code checking to raise a proper exception instead of using asserts.
Modified the status code checking to raise a proper exception instead of using asserts.

jacobian-archive/timetric