code: def _generate_throw_error(self, name, reason):
          
          throw_exc = '@throw([NSException exceptionWithName:@"{}" reason:{} userInfo:nil]);'
          self.emit(throw_exc.format(name, reason))
docs: Emits a generic error throwing line.