In previous aciviti REST version if any exception occurred in process it will send only 500 ( internal server error ). But in Activiti 5.13 REST version now we can get exact error code with message (e.g 401- unauthorized ).
My question is that can I add my custom error code and message ,so that I can get from REST response. If possible ,then how can I add that??