capture
capture function allows you to manually capture errors that you have captured. Useful when you want to continue executing the code, but want to send the bug to Flytrap.
Example usage:
tryCapture
tryCaptureSync
invariant
invariant function is super good for type-safe invariant state checks. Because of the type-signature, TypeScript will be happy as well!
Example usage:
invariantAsync
invariant function is super good for type-safe invariant state checks. The function will wait for the capture to be sent before throwing the invariant error.
Example usage:

