change error message to contain exitcode
Major change ad-edit-0.0.2 to wok-0.0.3