decord/source/__polyfill/00xxx/module_184.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

16 lines
302 B
JavaScript

// Module ID: 184
// Function ID: 185
// Dependencies: []
// Exports: default
// Module 184
export default function toError(arg0) {
let error = arg0;
if (!(arg0 instanceof Error)) {
const _Error = Error;
const _String = String;
error = new Error(String(arg0));
}
return error;
};