Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function isStackOverflowError
import { isStackOverflowError } from "https://deno.land/std@0.156.0/node/internal/errors.ts";

Returns true if err.name and err.message are equal to engine-specific values indicating max call stack size has been exceeded. "Maximum call stack size exceeded" in V8.

Parameters

err: Error

Returns

boolean