error-message-on-failure: provide error message for failures