-
Notifications
You must be signed in to change notification settings - Fork 0
failload
Justin Schwartz edited this page Jun 27, 2020
·
1 revision
- 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.
- $failload()
- $failload(messageFormat)
- $failload(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)