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

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

`curable` OVERRIDDEN | `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 01/03/2024 from adv3Lite version 1.6.2