Simple exception handler library for C