EmptyNounErrorclass
Empty noun slot error. This occurs when there are no noun phrases in a functional slot in the predicate (e.g., when the player types “TAKE” without a direct object).
class
EmptyNounError
:
CommandError
Superclass Tree (in declaration order)
EmptyNounError
CommandError
ParseError
Exception
` object`
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
Inherited from CommandError
:
cmd
errStage
Inherited from ParseError
:
allowOnRespell
Inherited from Exception
:
errmsg_
Summary of Methods
Inherited from ParseError
:
rankCorrection
Inherited from Exception
:
displayException
getExceptionMessage
showStackTrace
Properties
curable
OVERRIDDEN
we can cure by asking the player for the missing noun phrase
Methods
construct (cmd, role)
OVERRIDDEN
no description available
display ( )
OVERRIDDEN
our message is a missing noun query (e.g., “What do want to open?”)
tryCuring (toks, dict)
OVERRIDDEN
Try curing the error. After a missing noun query, the player can respond with a simple noun phrase answering the question.
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1