code: def resolve_outputs_due_to_exception(resolvers: Dict[str, Resolver], exn: Exception):
      
      for key, resolve in resolvers.items():
          log.debug(f"sending exception to resolver for {key}")
          resolve(None, False, exn)
docs: Resolves all outputs with resolvers exceptionally, using the given exception as the reason why the resolver has
      failed to resolve.
  
      :param resolvers: Resolvers associated with a resource's outputs.
      :param exn: The exception that occured when trying (and failing) to create this resource.