AppTypes.h should include ../Exceptions.h, otherwise the Nginx module doesn't compile.