initial commit
This commit is contained in:
26
server/node_modules/@opentelemetry/api/build/esnext/common/Exception.d.ts
generated
vendored
Normal file
26
server/node_modules/@opentelemetry/api/build/esnext/common/Exception.d.ts
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
interface ExceptionWithCode {
|
||||
code: string | number;
|
||||
name?: string;
|
||||
message?: string;
|
||||
stack?: string;
|
||||
}
|
||||
interface ExceptionWithMessage {
|
||||
code?: string | number;
|
||||
message: string;
|
||||
name?: string;
|
||||
stack?: string;
|
||||
}
|
||||
interface ExceptionWithName {
|
||||
code?: string | number;
|
||||
message?: string;
|
||||
name: string;
|
||||
stack?: string;
|
||||
}
|
||||
/**
|
||||
* Defines Exception.
|
||||
*
|
||||
* string or an object with one of (message or name or code) and optional stack
|
||||
*/
|
||||
export declare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;
|
||||
export {};
|
||||
//# sourceMappingURL=Exception.d.ts.map
|
||||
Reference in New Issue
Block a user