[jerry] modify the error template