mirror of https://github.com/explosion/spaCy.git
Fix message in ParserStateError
This commit is contained in:
parent
6bf505e865
commit
3a03c668c3
|
@ -305,7 +305,8 @@ cdef class StepwiseState:
|
||||||
|
|
||||||
class ParserStateError(ValueError):
|
class ParserStateError(ValueError):
|
||||||
def __init__(self, doc):
|
def __init__(self, doc):
|
||||||
self.message = ("Error analysing doc -- no valid actions available. This should "
|
ValueError.__init__(self,
|
||||||
|
"Error analysing doc -- no valid actions available. This should "
|
||||||
"never happen, so please report the error on the issue tracker. "
|
"never happen, so please report the error on the issue tracker. "
|
||||||
"Here's the thread to do so --- reopen it if it's closed:\n"
|
"Here's the thread to do so --- reopen it if it's closed:\n"
|
||||||
"https://github.com/spacy-io/spaCy/issues/429\n"
|
"https://github.com/spacy-io/spaCy/issues/429\n"
|
||||||
|
|
Loading…
Reference in New Issue