(chunk)
| 645 | } |
| 646 | |
| 647 | #decodeSimpleError(chunk) { |
| 648 | const string = this.#decodeSimpleString(String, chunk); |
| 649 | return typeof string === 'function' ? |
| 650 | this.#continueDecodeSimpleError.bind(this, string) : |
| 651 | new SimpleError(string); |
| 652 | } |
| 653 | |
| 654 | #continueDecodeSimpleError(stringCb, chunk) { |
| 655 | const string = stringCb(chunk); |
no test coverage detected