Setting status_code and content as attributes of GandalfException instance