first
This commit is contained in:
8
safekiso-server/node_modules/snyk/dist/lib/unexpected-error.d.ts
generated
vendored
Normal file
8
safekiso-server/node_modules/snyk/dist/lib/unexpected-error.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Ensures a given function does not throw any errors, including unexpected ones
|
||||
* outside of its chain of execution.
|
||||
*
|
||||
* This function can only be used once in the same process. If you have multiple
|
||||
* callables needing this, compose them into a single callable.
|
||||
*/
|
||||
export declare function callHandlingUnexpectedErrors(callable: () => Promise<unknown>, exitCode: number): Promise<void>;
|
||||
Reference in New Issue
Block a user