extractPlainError(err) {
		return {
			name: err.name,
			message: err.message,
			nodeID: err.nodeID || this.broker.nodeID,
			code: err.code,
			type: err.type,
			retryable: err.retryable,
			stack: err.stack,
			data: err.data
		};
	}
Extracts a plain error object from Error object

@param {Error} err
@param {Object} payload
@return {Object} plain error

@memberof Regenerator