@php-wasm/universalFunctionsdescribeErrordescribeError CallabledescribeError(error: unknown, seen?: WeakSet<object>, depth?: number, options?: { suppressGenericErrorName?: boolean }): stringDescribe an error for display. Handles Error instances, Comlink-serialized plain objects (which lose their Error prototype during worker thread transfer), and arbitrary values.Parameterserror: unknownseen: WeakSet<object> = ...depth: number = 0options: { suppressGenericErrorName?: boolean } = {}optionalsuppressGenericErrorName: booleanReturns string
Describe an error for display. Handles Error instances, Comlink-serialized plain objects (which lose their Error prototype during worker thread transfer), and arbitrary values.