Cleaning exceptions/errors