@minecraft/server-ui / FormRejectError
Class: FormRejectError
Defined in: @minecraft/server-ui/index.d.ts:1887
Thrown when a form is rejected. Contains the reason for the rejection.
Extends
Error
Properties
cause?
optionalcause?:unknown
Defined in: typescript/lib/lib.es2022.error.d.ts:24
Inherited from
Error.cause
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
reason
readonlyreason:FormRejectReason
Defined in: @minecraft/server-ui/index.d.ts:1896
Remarks
The reason the form was rejected.
This property can be read in early-execution mode.
stack?
optionalstack?:string
Defined in: typescript/lib/lib.es5.d.ts:1076
Inherited from
Error.stack