Skip to content

failattach

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

failattach

  • ACE Inline Expansion*

Used inside of an "attach-first" extra-code block. If this point in the code is reached, the module will fail to attach and begin cleaning up any resources obtained from the arena up to that point.

Resources obtained during the "attach-first" block should be freed in an "detach-last" block.

Valid Syntax

  • $failattach()
  • $failattach(messageFormat)
  • $failattach(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 attach.

...

(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