Community
Articles
Topics
Q&A
Learn
Course
Programming Dictionary
Tools Library
Development tools
Website Source Code
PHP Libraries
JS special effects
Website Materials
Extension plug-ins
AI Tools
Leisure
Game Download
Game Tutorials
English
简体中文
English
繁体中文
日本語
한국어
Melayu
Français
Deutsch
Login
singup
javascript - try捕捉不到它?
大家讲道理
2017-04-10 14:31:26
0
1
264
1
0
0
大家讲道理
光阴似箭催人老,日月如移越少年。
reply all
(1)
I'll reply
Close
Ty80
2017-04-10 14:33:26
1 floor
try只能捕捉它包含的语句的错误。如果是异步请求的话,回调的函数内容不是在这个块里面执行的,所以不能被try捕获到。
Like
+0
Add Reply
关闭回复
大家讲道理
reply
Popular Topics
More>
Java Tutorial
CakePHP Tutorial
Laravel Tutorial
PHP Tutorial
Popular Articles
What is blockchain privacy currency? What are the transactions?
Ouyi Ouyi Ouyi Ouix Ouyi Global Station Login Home Page
Is the company's security software causing the application to fail to run? How to troubleshoot and solve it?
C# vs. C : History, Evolution, and Future Prospects
Linux Architecture: Unveiling the 5 Basic Components
Popular Tutorials
More>
Related Tutorials
Popular Recommendations
Latest courses
The latest ThinkPHP 5.1 world premiere video tutorial (60 days to become a PHP expert online training course)
1445318
PHP introductory tutorial one: Learn PHP in one week
4311798
JAVA Beginner's Video Tutorial
2738916
The latest ThinkPHP 5.1 world premiere video tutorial (60 days to become a PHP expert online training course)
1445318
JAVA Beginner's Video Tutorial
2738916
Little Turtle's zero-based introduction to learning Python video tutorial
522077
Quick introduction to web front-end development
217743
Master PS video tutorials from scratch
936778
[Web front-end] Node.js quick start
11066
Complete collection of foreign web development full-stack courses
8960
Go language practical GraphQL
7521
550W fan master learns JavaScript from scratch step by step
908
Python master Mosh, a beginner with zero basic knowledge can get started in 6 hours
37076
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
[form button] jQuery enterprise message form contact code
[Player special effects] HTML5 MP3 music box playback effects
[Menu navigation] HTML5 cool particle animation navigation menu special effects
[form button] jQuery visual form drag and drop editing code
[Player special effects] VUE.JS imitation Kugou music player code
[html5 special effects] Classic html5 pushing box game
[Picture special effects] jQuery scrolling to add or reduce image effects
[Photo album effects] CSS3 personal album cover hover zoom effect
[Bootstrap template] Organic fruit and vegetable supplier web template Bootstrap5
[backend template] Bootstrap3 multifunctional data information background management responsive web page template-Novus
[Bootstrap template] Real estate resource service platform web page template Bootstrap5
[Bootstrap template] Simple resume information web template Bootstrap4
[Bootstrap template] bootstrap responsive widescreen book education website template-DREAMLIFE
[backend template] MAC style responsive blue enterprise CMS background management system template
[backend template] Responsive gradient atmosphere background management system website template-usinessbox
[Bootstrap template] Responsive vegetable and fruit store website template-Organio
[PNG material] Cute summer elements vector material (EPS PNG)
[PNG material] Four red 2023 graduation badges vector material (AI EPS PNG)
[banner picture] Singing bird and cart filled with flowers design spring banner vector material (AI EPS)
[PNG material] Golden graduation cap vector material (EPS PNG)
[PNG material] Black and white style mountain icon vector material (EPS PNG)
[PNG material] Superhero silhouette vector material (EPS PNG) with different color cloaks and different poses
[banner picture] Flat style Arbor Day banner vector material (AI+EPS)
[PNG material] Nine comic-style exploding chat bubbles vector material (EPS+PNG)
[Front-end template] Home Decor Cleaning and Repair Service Company Website Template
[Front-end template] Fresh color personal resume guide page template
[Front-end template] Designer Creative Job Resume Web Template
[Front-end template] Modern engineering construction company website template
[Front-end template] Responsive HTML5 template for educational service institutions
[Front-end template] Online e-book store mall website template
[Front-end template] IT technology solves Internet company website template
[Front-end template] Purple style foreign exchange trading service website template
try只能捕捉它包含的语句的错误。如果是异步请求的话,回调的函数内容不是在这个块里面执行的,所以不能被try捕获到。