src/network/error-parsing.js
function configure(options) {
    if (options && isArray(options.globalMessages)) {
        globalMessages = options.globalMessages;
    }
    if (options && isObject(options.errorTypes)) {
        errorTypes = options.errorTypes;
    }
}
function configure(options) {
    if (options && isArray(options.globalMessages)) {
        globalMessages = options.globalMessages;
    }
    if (options && isObject(options.errorTypes)) {
        errorTypes = options.errorTypes;
    }
}
function configure ( options ) { if ( options && isArray ( options . globalMessages ) ) { globalMessages = options . globalMessages ; } if ( options && isObject ( options . errorTypes ) ) { errorTypes = options . errorTypes ; } }
Configure the global messages and the error types.

@param {object} options object containing global messages or error types
Configure the global messages and the error types .