non-returning function
nounUK /nɒn rɪˈtɜːnɪŋ ˈfʌŋkʃən/
US /nɑːn rɪˈtɜːrnɪŋ ˈfʌŋkʃən/
A non-returning function is a special helper in a computer program that never gives an answer back.
The programmer marked the error handler as a non-returning function because it always stops the program.
OTHER MEANINGS
2. A function declared to never pass control back to its caller, often used for fatal errors or infinite loops.
The compiler warns if a non-returning function might actually return.
3. In some languages, a routine annotated to tell the compiler that execution will not continue after the call.
Marking the function as non-returning helped the optimizer remove dead code.
4. A procedure that ends the program or jumps away instead of producing a value.
The exit routine is a non-returning function that shuts down the process.