build/gpf-debug.js
function (e) {
                if (e instanceof java.util.NoSuchElementException || e.message.startsWith("java.util.NoSuchElementException")) {
                    // Empty stream
                    return Promise.resolve();
                }
                return Promise.reject(e);
            }
function (e) {
                if (e instanceof java.util.NoSuchElementException || e.message.startsWith("java.util.NoSuchElementException")) {
                    // Empty stream
                    return Promise.resolve();
                }
                return Promise.reject(e);
            }
function ( e ) { if ( e instanceof java . util . NoSuchElementException || e . message . startsWith ( "java.util.NoSuchElementException" ) ) { // Empty stream return Promise . resolve ( ) ; } return Promise . reject ( e ) ; }
region gpf.interfaces.IReadableStream 
Process error that occurred during the stream reading

@param {Error} e Error coming from read
@return {Promise} Read result replacement
@since 0.2.4
region gpf . interfaces . IReadableStream Process error that occurred during the stream reading