Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4504758
test_error_catch.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
266 B
Referenced Files
None
Subscribers
None
test_error_catch.js
View Options
Promise
.
reject
(
new
Error
(
'Promise Test error'
)).
catch
(
console
.
error
);
try
{
throw
new
Error
(
'try-catch test error'
);
}
catch
(
err
)
{
console
.
error
(
err
);
}
async
function
testAsync
()
{
throw
new
Error
(
'Async test error'
);
}
testAsync
().
catch
(
console
.
error
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 3, 9:58 AM (1 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
523461
Default Alt Text
test_error_catch.js (266 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment