Is there anyway to set the exit status for pl/sql compilation errors.

For example

4/2 PL/SQL: SQL Statement ignored
5/7 PLS-00201: identifier 'VIEW_RATINGSSEQUENCEDCOLUMNS' must be
declared