Fortran is not real big on catching errors. Typically in an error situation, your program will stop, and you'll get an error message. The only exception to this is that at the end of
WRITE statements' parenthesized control list, you can add
, ERR=lineNumber to determine which line to jump to in the event of an error.