added errormessage to service