Lines Matching refs:err
17199 var err;
17200 …err = new Error('PDFDocument#write is deprecated, and will be removed in a future version of PDFKi…
17201 console.warn(err.stack);
19435 doWrite(stream, state, true, state.length, state.buffer, '', function(err) {
19438 cbs[i](err);
20556 function onError(err) {
20559 callback(err);
21363 function err(strm, errorCode) {
22522 return err(strm, Z_STREAM_ERROR);
22588 return err(strm, Z_STREAM_ERROR);
22646 return strm ? err(strm, Z_STREAM_ERROR) : Z_STREAM_ERROR;
22654 return err(strm, (strm.avail_out === 0) ? Z_BUF_ERROR : Z_STREAM_ERROR);
22881 return err(strm, Z_BUF_ERROR);
22886 return err(strm, Z_BUF_ERROR);
22990 return err(strm, Z_STREAM_ERROR);
22995 return status === BUSY_STATE ? err(strm, Z_DATA_ERROR) : Z_OK;
27348 var err = new Error();
27349 if (err.stack) {
27350 var out = err.stack;
27636 assert.ifError = function(err) { if (err) {throw err;}};
65513 zlib.deflate(imgData, function(err, imgData) {
65515 if (err) {
65516 throw err;
65522 return zlib.deflate(alphaChannel, function(err, alphaChannel) {
65524 if (err) {
65525 throw err;
65546 return zlib.deflate(alphaChannel, function(err, alphaChannel) {
65548 if (err) {
65549 throw err;
65604 return fs.readFile(path, function(err, file) {
65743 return zlib.inflate(this.imgData, function(err, data) {
65745 if (err) {
65746 throw err;