# Method MasterObject()->compile_error()

Method compile_error

  `void compile_error(string file, int line, string err)`

Description

  This function is called whenever a compile error occurs. line is zero for errors that aren't associated with any specific line. err is not newline terminated.

See also

  compile_warning(), compile_exception(), get_inhibit_compile_errors(), set_inhibit_compile_errors(),