Skip to content

failload

Justin Schwartz edited this page Jun 27, 2020 · 1 revision

failload

  • ACE Inline Expansion*

Used inside of a "load-first" extra-code block. If this point in the code is reached, the module will fail to load and begin unloading, generally releasing any resources it has obtained up to that point.

Resources obtained during the "load-first" block should be freed in an "unload-last" block.

Valid Syntax

  • $failload()
  • $failload(messageFormat)
  • $failload(messageFormat//, //...)

Parameters

messageFormat

(Optional)

a printf format string that will be used for the message recorded to the log for the reason why the module failed to load.

...

(Optional)

items required to fill in the pieces of the messageFormat string (as many as are needed, separated by commas, just like using printf)

Clone this wiki locally