Error : replace the constant name in the error message with process name