Skip to content

ErrorPolicy beta ​

TypeAlias of @v12-engine/engine

ts
export type ErrorPolicy = ErrorAnswer | ((error: unknown, where: ErrorSite, world: World) => ErrorAnswer);

What to do about an error: the same for all of them, or decided for each