I have created Display Template for Search Box. It is working fine but some time it shows error message.
Sorry, something went wrong. Display Error: The display template had an error. You can correct it by fixing the template or by changing the display template used in either the Web Part properties or Result Types. Template '~sitecollection/_catalogs/masterpage/Display Templates/Search/SearchBox_Cust.js' not found or has syntax errors. (LoadTemplate: )