()
| 269 | } |
| 270 | |
| 271 | private createExceptionProxy() { |
| 272 | return (receiver: Record<string, any>, prop: string) => { |
| 273 | if (!(prop in receiver)) { |
| 274 | return; |
| 275 | } |
| 276 | if (isFunction(receiver[prop])) { |
| 277 | return this.createExceptionZone(receiver, prop); |
| 278 | } |
| 279 | return receiver[prop]; |
| 280 | }; |
| 281 | } |
| 282 | |
| 283 | private createExceptionZone( |
| 284 | receiver: Record<string, any>, |
no test coverage detected