Represents a generic error that occurs in the LaraFlow library. This error should be thrown when a logic error occurs that should not be caught.
It only serves to inform the developer that an invariant has been broken, thus highlighting a bug in the code.
Creates a new LaraFlowError.
The error message.
Optional
Static
Optional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Create .stack property on a target object
Represents a generic error that occurs in the LaraFlow library. This error should be thrown when a logic error occurs that should not be caught.
It only serves to inform the developer that an invariant has been broken, thus highlighting a bug in the code.