Fish Wang says to YSITD 或是自己自訂個Error的class 然後 throw new MyError('') ... catch(function (err) { if (err instanceof MyError) { ... } })