NfNotInitializedException
Summary
Thrown when a method is called on a library or engine component before it has been initialised via__init.
Signature
Constructors
constructor
Constructs a new instance of the classProperties
code
Modifiers: readonly Type:get code(): number;
Always .
Remarks
This exception is raised automatically by the helper methodLibrary.throwNotInitializedError(). Ensure that NanoforgeApplication.init has resolved before interacting with any library.