Rest APIs exception handling - imona/tutorial GitHub Wiki

All exceptions that occur on the Rest API causes the platform to return a common error response with HTTP status code 500 (Internal Server Error) as below:

{
  "code": 1001,
  "message": UniqueKeyValidationException,
  "stackTrace": .....
}