end
end(payload: any, status: any, headers: dict) -> None
Terminates the currently running integration at the end of the hook in which it is called, logging a failure with the provided status. Integration output is set to the provided payload, status, and headers.
If you need the integration to halt at an exact point within a hook, consider throwing an Exception
within the hook, then performing necessary handling in the On Failure Hooks.
Last updated