run-time error

run-time error

[′rən ¦tīm ′er·ər]
(computer science)
An error in a computer program that is not detected until the program is executed, and then causes a processing error to occur.
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.

run-time error

(programming)
An error in the execution of a program which occurs at run time, as opposed to a compile-time error.

A good programming language should, among other things, aim to replace run-time errors by compile-time errors. Language features such as strong typing help.

A good program should attempt to avoid run-time errors by, for example, checking that their input data is sensible. Where this is not possible, the program should attempt to detect the error and handle it gracefully rather than just exiting via the language or operating system's default handler. Here again, a good language will make this easy to do (or at least possible).

See also abort, core dump, GPF.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
Mentioned in
Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.