(obj: unknown)
| 101 | } |
| 102 | |
| 103 | function getObjectClassName(obj: unknown): string | undefined | void { |
| 104 | try { |
| 105 | const prototype: unknown | null = Object.getPrototypeOf(obj); |
| 106 | return prototype ? prototype.constructor.name : undefined; |
| 107 | } catch { |
| 108 | // ignore errors here |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | function getException( |
| 113 | client: Client, |
no outgoing calls
no test coverage detected