File.create:after hook – catch callback from external API

Maybe not, but throwing an Exception is currently the only way to return something from a hook.

Otherwise, you need to program something custom.