              "set one of the following: before (component name or index), "
              "after (component name or index), first (True) or last (True). "
              "Invalid configuration: {args}. Existing components: {opts}")
      E007 = ("'{name}' already exists in pipeline. Existing names: {opts}")
      E008 = ("Some current components would be lost when restoring previous "
              "pipeline state. If you added components after calling "
              "`nlp.select_pipes()`, you should remove them explicitly with "
              "`nlp.remove_pipe()` before the pipeline is restored. Names of "
              "the new components: {names}")
      E010 = ("Word vectors set to length 0. This may be because you don't have "
              "a model installed or loaded, or because your model doesn't "
              "include word vectors. For more info, see the docs:\n"
              "https://spacy.io/usage/models")
      E011 = ("Unknown operator: '{op}'. Options: {opts}")
 
</s> remove         # TODO: maybe add some more checks / catch errors that may occur if
        # user removes a disabled pipe in the with block
 </s> add 
    E008 = ("Can't restore disabled pipeline component '{name}' because it "
            "doesn't exist in the pipeline anymore. If you want to remove "
            "components from the pipeline, you should do it before calling "
            "`nlp.select_pipes()` or after restoring the disabled components.")
              "set one of the following: before (component name or index), "
              "after (component name or index), first (True) or last (True). "
              "Invalid configuration: {args}. Existing components: {opts}")
      E007 = ("'{name}' already exists in pipeline. Existing names: {opts}")
    E008 = ("Can't restore disabled pipeline component '{name}' because it "
            "doesn't exist in the pipeline anymore. If you want to remove "
            "components from the pipeline, you should do it before calling "
            "`nlp.select_pipes()` or after restoring the disabled components.")
    E008 = ("Can't restore disabled pipeline component '{name}' because it "
            "doesn't exist in the pipeline anymore. If you want to remove "
            "components from the pipeline, you should do it before calling "
            "`nlp.select_pipes()` or after restoring the disabled components.")
    E008 = ("Can't restore disabled pipeline component '{name}' because it "
            "doesn't exist in the pipeline anymore. If you want to remove "
            "components from the pipeline, you should do it before calling "
            "`nlp.select_pipes()` or after restoring the disabled components.")
    E008 = ("Can't restore disabled pipeline component '{name}' because it "
            "doesn't exist in the pipeline anymore. If you want to remove "
            "components from the pipeline, you should do it before calling "
            "`nlp.select_pipes()` or after restoring the disabled components.")
    E008 = ("Can't restore disabled pipeline component '{name}' because it "
            "doesn't exist in the pipeline anymore. If you want to remove "
            "components from the pipeline, you should do it before calling "
            "`nlp.select_pipes()` or after restoring the disabled components.")
      E010 = ("Word vectors set to length 0. This may be because you don't have "
              "a model installed or loaded, or because your model doesn't "
              "include word vectors. For more info, see the docs:\n"
              "https://spacy.io/usage/models")
      E011 = ("Unknown operator: '{op}'. Options: {opts}")
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 Raise if disabled components are removed before DisabledPipes.restore 
spacy/errors.py