Yeah, what i should have done is put the raise GandiExeption in the method that called parse_error, like is done in a normal response object :-(