code: def test_export_model_errors(self):
      temp_filepath = os.path.join(
          self.get_temp_dir(), "exported_model"
      )
  
      # Model has not been built
      model = models.Sequential([layers.Dense(2)])
      with self.assertRaisesRegex(ValueError, "It must be built"):
          export_lib.export_model(model, temp_filepath)
  
      # Subclassed model has not been called
      class MyModel(models.Model):
          def __init__(self, **kwargs):
              super().__init__(**kwargs)
              self.dense = layers.Dense(2)
  
          def build(self, input_shape):
              self.dense.build(input_shape)
              self.built = True
  
          def call(self, x):
              return self.dense(x)
  
      model = MyModel()
      model.build((2, 3))
      with self.assertRaisesRegex(ValueError, "It must be called"):
          export_lib.export_model(model, temp_filepath)
  
imports: import os
  import numpy
  import pytest
  import tensorflow
  from keras import backend
  from keras import layers
  from keras import models
  from keras import testing
  from keras import utils
  from keras.export import export_lib
  from keras.saving import saving_lib
label_desc: Use image node_id 10 for calling the ExportArchiveTest obj's underlying member method code with example usage: obj.test_export_model_errors() and returns: self