EmptyNounError class | parser.t[5254], 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[5296]`

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

Methods

`construct (cmd, role)`OVERRIDDEN | `parser.t[5255]`

no description available

`display ( )`OVERRIDDEN | `parser.t[5262], newbie.t[344]`

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

`tryCuring (toks, dict)`OVERRIDDEN | `parser.t[5271]`

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 08/12/2025 from adv3Lite version 2.2.2