upi_exception library