class Importmap::Map

def rescuable_asset_error?(error)

def rescuable_asset_error?(error)
  Rails.application.config.importmap.rescuable_asset_errors.any? { |e| error.is_a?(e) }
end