@minecraft/server-ui / InvalidFormModificationError
Class: InvalidFormModificationError
Defined in: @minecraft/server-ui/index.d.ts:1948
Thrown when attempting to modify a form after it has already been shown to a player. Form properties cannot be changed while the form is active.
Extends
Error
Properties
cause?
optionalcause?:unknown
Defined in: typescript/lib/lib.es2022.error.d.ts:24
Inherited from
Error.cause
formId
readonlyformId:string
Defined in: @minecraft/server-ui/index.d.ts:1958
Remarks
The identifier of the form that was illegally modified after being shown.
This property can be read in early-execution mode.
message
message:
string
Defined in: typescript/lib/lib.es5.d.ts:1075
Inherited from
Error.message
name
name:
string
Defined in: typescript/lib/lib.es5.d.ts:1074
Inherited from
Error.name
stack?
optionalstack?:string
Defined in: typescript/lib/lib.es5.d.ts:1076
Inherited from
Error.stack