Skip to content

How to determine if an Local<Object> is Error? 如何判断Local<Object>是否为Error #84

Answered by LanderlYoung
Jasonzyt asked this question in Q&A
Discussion options

You must be logged in to vote

use Local::instanceOf
with the parameter be the js Error reference

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Jasonzyt
Comment options

@LanderlYoung
Comment options

@LanderlYoung
Comment options

Answer selected by LanderlYoung
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants