Global Error Boundary Utility. Decouples the decision to throw an error from the act of logging it.
The Error object or error string to raise
Optional boundary context configuration
raise('Invalid input', { catch: true, logger: myLogger }); Copy
raise('Invalid input', { catch: true, logger: myLogger });
Global Error Boundary Utility. Decouples the decision to throw an error from the act of logging it.