Dashboard › Knowledge › Return error expressions
01a07eb5-71db-72f1-ad68-c6e13a4fa56eAlways return when invoking an expression that raises or propagates an error so TypeScript knows execution cannot continue. A bare error-helper call looks equivalent at runtime, but its declared return type may prevent control-flow narrowing and leave subsequent code reachable to the type checker.