Skip to content
File

Blob: src/pyodide/types/Error.d.ts

typescript14 lines
1// Copyright (c) 2026 Cloudflare, Inc.
2// Licensed under the Apache 2.0 license found in the LICENSE file or at:
3// https://opensource.org/licenses/Apache-2.0
4 
5interface ErrorConstructor {
6 prepareStackTrace: ((_error: Error, stack: StackItem[]) => void) | undefined;
7 stackTraceLimit: number;
8}
9 
10interface StackItem {
11 getFunctionName: () => string;
12 getFileName: () => string;
13}