adding numeric error code to Failure message