()
| 3703 | } |
| 3704 | |
| 3705 | public toString(): string { |
| 3706 | let msg = `${this.name}: ${this.message} (status ${this.status})`; |
| 3707 | if (this.details) { |
| 3708 | msg += `\n${this.details}`; |
| 3709 | } |
| 3710 | return msg; |
| 3711 | } |
| 3712 | |
| 3713 | static async from(res: Response): Promise<LiveblocksError> { |
| 3714 | // Retain the stack trace of the original error location, not the async return point |
no outgoing calls