EXCEPT
For exception handling (error trapping) in your code you have the option to Try...Finally, or Try...Except. In this case, Try...Except inserts code that either handles, reports, reports and handles the error that occurred.
try // code here that causes an error // except Writeln('Error: ',Exception.getMessage); end;Source: Reserved Words