Unix-like systems have an errno.h header file that contains the meanings and values of error codes returned by system calls and library functions.A computer program can take different actions depending on the value of an error code.ĭifferent programming languages, operating systems, and programming environments often have their own conventions and standards for the meanings and values of error codes. The Blue screen of death is an example of how the Windows operating system communicates error codes to the user.Įrror codes can be used within a computer program to represent an anomalous condition. The system may also choose to pass the error code to its user(s). Often error codes come synonymous with an exit code or a return value. There is no definitive format for error codes, meaning that error codes typically differ from/between products and or companies.Įrror codes in computers can be passed to the system itself, to judge how to respond to the error. An error code can be communicated to relevant support staff to identify potential fixes, or can simplify research into the cause of an error. They are commonly reported by consumer electronics when users bring electronics to perform tasks that they cannot do (e.g., dividing by zero), or when the program within a device encounters an anomalous condition.Įrror codes reported by consumer electronics are used to help diagnose and repair technical problems. In consumer products Error E74 on the Xbox 360, indicating a hardware failure Įrror codes are commonly encountered on displays of consumer electronics to users in order to communicate or specify an error. Error codes can be reported to end users of software, returned from communication protocols, or used within programs as a method of representing anomalous conditions. Not to be confused with Error correction code.Įrror computing, an error code (or a return code) is a numeric or alphanumeric code that indicates the nature of an error and, when possible, why it occurred.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |