Skip to content

Commit 5b18fbe

Browse files
authored
🤖 Merge PR DefinitelyTyped#72252 [facebook-nodejs-business-sdk] Add additional FacebookRequestError attribute typings by @Tybot204
1 parent bb5d13d commit 5b18fbe

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

‎types/facebook-nodejs-business-sdk/src/exceptions.d.ts‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,20 @@ export declare class FacebookRequestError extends FacebookError {
1313
* @param {Object} data
1414
*/
1515
constructor(response: any, method: any, url: any, data: any);
16+
17+
name: string;
18+
message: string;
19+
stack: string;
20+
status: number;
21+
response: {
22+
message: string;
23+
type: string;
24+
code: number;
25+
fbtrace_id: string;
26+
}
27+
headers: { [key: string]: string };
28+
method: string;
29+
url: string;
30+
data: { data: object[], id: string };
1631
}
17-
export {};
32+
export { };

0 commit comments

Comments
 (0)