class GreatExpectationsError(Exception):
    pass
  
  
class ExpectationsConfigNotFoundError(GreatExpectationsError):
    def __init__(self, data_asset_name):
        self.data_asset_name = data_asset_name
        self.message = "No expectations config found for data_asset_name %s" % data_asset_name


class BatchKwargsError(GreatExpectationsError):
    def __init__(self, message, batch_kwargs):
        self.message = message
class GreatExpectationsError(Exception):
    pass
  
  
class ExpectationsConfigNotFoundError(GreatExpectationsError):
    def __init__(self, data_asset_name):
        self.data_asset_name = data_asset_name
        self.message = "No expectations config found for data_asset_name %s" % data_asset_name


class BatchKwargsError(GreatExpectationsError):
    def __init__(self, message, batch_kwargs):
        self.message = message
        self.batch_kwargs = batch_kwargs
Add batch_kwargs to custom error
Add batch_kwargs to custom error

  class GreatExpectationsError(Exception):
      pass
    
    
  class ExpectationsConfigNotFoundError(GreatExpectationsError):
      def __init__(self, data_asset_name):
          self.data_asset_name = data_asset_name
          self.message = "No expectations config found for data_asset_name %s" % data_asset_name
  
  
  class BatchKwargsError(GreatExpectationsError):
      def __init__(self, message, batch_kwargs):
          self.message = message
+         self.batch_kwargs = batch_kwargs
Add batch_kwargs to custom error
## Code Before:
class GreatExpectationsError(Exception):
    pass
  
  
class ExpectationsConfigNotFoundError(GreatExpectationsError):
    def __init__(self, data_asset_name):
        self.data_asset_name = data_asset_name
        self.message = "No expectations config found for data_asset_name %s" % data_asset_name


class BatchKwargsError(GreatExpectationsError):
    def __init__(self, message, batch_kwargs):
        self.message = message
## Instruction:
Add batch_kwargs to custom error
## Code After:
class GreatExpectationsError(Exception):
    pass
  
  
class ExpectationsConfigNotFoundError(GreatExpectationsError):
    def __init__(self, data_asset_name):
        self.data_asset_name = data_asset_name
        self.message = "No expectations config found for data_asset_name %s" % data_asset_name


class BatchKwargsError(GreatExpectationsError):
    def __init__(self, message, batch_kwargs):
        self.message = message
        self.batch_kwargs = batch_kwargs