Question from the PostgreSQL test

Which PostgreSQL feature is used to handle exceptions and control the transaction flow?