EmptyNounErrorclass

parser.t[5178], newbie.t[343]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

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  

curable

Inherited from CommandError :
cmd errStage

Inherited from ParseError :
allowOnRespell

Inherited from Exception :
errmsg_

Summary of Methods  

construct display tryCuring

Inherited from ParseError :
rankCorrection

Inherited from Exception :
displayException getExceptionMessage showStackTrace

Properties  

curableOVERRIDDEN

parser.t[5220]

we can cure by asking the player for the missing noun phrase

Methods  

construct (cmd, role)OVERRIDDEN

parser.t[5179]

no description available

display ( )OVERRIDDEN

parser.t[5186], newbie.t[344]

our message is a missing noun query (e.g., “What do want to open?”)

tryCuring (toks, dict)OVERRIDDEN

parser.t[5195]

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