reinstate E970

This commit is contained in:
svlandeg 2023-03-27 19:01:20 +02:00
parent 0ccfb31955
commit adf8b4a88b

View File

@ -826,6 +826,7 @@ class Errors(metaclass=ErrorsWithCodes):
"assign it a name, e.g. `@Language.component('your_name')`. You can "
"then run `nlp.replace_pipe('{name}', 'your_name')`.")
E969 = ("Expected string values for field '{field}', but received {types} instead. ")
E970 = ("Can not execute command '{str_command}'. Do you have '{tool}' installed?")
E971 = ("Found incompatible lengths in `Doc.from_array`: {array_length} for the "
"array and {doc_length} for the Doc itself.")
E972 = ("`Example.__init__` got None for '{arg}'. Requires Doc.")