MCPcopy Index your code
hub / github.com/redis/node-redis / #decodeBlobError

Method #decodeBlobError

packages/client/lib/RESP/decoder.ts:661–666  ·  view source on GitHub ↗
(chunk)

Source from the content-addressed store, hash-verified

659 }
660
661 #decodeBlobError(chunk) {
662 const string = this.#decodeBlobString(String, chunk);
663 return typeof string === 'function' ?
664 this.#continueDecodeBlobError.bind(this, string) :
665 new BlobError(string);
666 }
667
668 #continueDecodeBlobError(stringCb, chunk) {
669 const string = stringCb(chunk);

Callers 2

#decodeTypeValueMethod · 0.95

Calls 1

#decodeBlobStringMethod · 0.95

Tested by

no test coverage detected