feat(engine): add some code for exception type to error code
- add implementation for script task, multiinstance and service task
  expression/delegate expression
- adjust test cases for the new feature

related to CAM-1035