The FreePascal documentation on freepascal.org has the following information:

Compiler Messages (this includes also compiling errors):
http://freepascal.org/docs-html/user...l#x179-178000C

Runtime Errors:
http://freepascal.org/docs-html/user...l#x196-195000D