Skip to content

Latest commit

 

History

History
65 lines (62 loc) · 2.88 KB

ERROR-CODES.md

File metadata and controls

65 lines (62 loc) · 2.88 KB

Error Codes

This list was obtained from Appendix D of Free Pascal's User Guide. They may or may not be the same as Borland's Turbo Pascal Runtime error codes. This page will be updated once these information has been obtained and verified.

Code Hex Description
001 01 Invalid function number
002 02 File not found
003 03 Path not found
004 04 Too many open files
005 05 File access denied
006 06 Invalid file handle
012 0C Invalid file access code
015 0F FilInvalid drive number
016 10 Cannot remove current directory
017 11 Cannot rename across drive
100 64 Disk read error
101 65 Disk write error
102 66 File not assigned
103 67 File not open
104 68 File not open for input
105 69 File not open for output
106 6A Invalid numeric format
107 6B Invalid enumeration
150 96 Disk is write-protected
151 97 Bad drive request struct length
152 98 Drive not ready
154 9A CRC error in data
156 9C Disk seek error
157 9D Unknown media type
158 9E Sector Not Found
159 9F Printer out of paper
160 A0 Device write fault
161 A1 Device read fault
162 A2 Hardware failure
200 C8 Division by zero
201 C9 Range check error
202 CA Stack overflow error
203 CB Heap overflow error
204 CC Invalid pointer operation
205 CD Floating point overflow
206 CE Floating point underflow
207 CF Invalid floating point operation
208 D0 Overlay manager not installed
209 D1 Overlay file read error
210 D2 Object not initialized
211 D3 Call to abstract method
212 D4 Stream registration error
213 D5 Collection index out of range
214 D6 Collection overflow error
215 D7 Arithmetic overflow error
216 D8 General Protection fault
217 D9 Unhandled exception occurred
218 DA Invalid value specified
219 DB Invalid typecast
222 DE Variant dispatch error
223 DF Variant array create
224 E0 Variant is not an array
225 E1 Var Array Bounds check error
227 E3 Assertion failed error
229 E5 Safecall error check
231 E7 Exception stack corrupted
232 E8 Threads not supported

Back