Typescript type of Error thrown? #5634
Unanswered
vincerubinetti
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Where can one find the type of error thrown by certain functions? For example, I'm using
await (new BetaAnalyticsDataClient()).runReport()
, and it seems to throw an object that is not a regular javascriptError
. It seems to throw something like this:I've looked through
protos.d.ts
and the rest of the source code and can't find where this type is defined. I've even looked through gRPC docs (which I know nothing about), and can only find pieces of it likeMetadata
.Beta Was this translation helpful? Give feedback.
All reactions