Just causes an error if you try to hook something non-supported by an HookMixin subclass. Shouldn't ever happen at runtime, but will make programming errors more visible. I accidentally broke the search module Wiki hooks when moving stuff to WikiPage, and thought this would be helpful to make that sort of thing more noticable.
Just causes an error if you try to hook something non-supported by an
HookMixin
subclass. Shouldn't ever happen at runtime, but will make programming errors more visible. I accidentally broke the search moduleWiki
hooks when moving stuff toWikiPage
, and thought this would be helpful to make that sort of thing more noticable.