How we can customize standard infolog ???

Hello everyone… i have a scenario when we click any error message then edit button will appears on the bottom of infolog box .We want hide these button form only these form (for all user).

these error are customized error not standard error.

What do you mean by hiding for only these forms? If edit takes you to the code and users has permission to code then only the user can see that button.

If you don’t want to show the Edit button forever and everyone, then try passing the helpUrl.

Example - throw error(‘Error’, ‘This is a system generated error’);

Thanks Kranthi … Its helpful for me but When We pass any value in helpUrl i.e Error , Warning any string its don’t show edit button. How???

Please verify kratnhi’s reply as answer

This is being handled in the code. Have a look at,