Error Management Framework for C