function checkClonedError(assert, oOriginal, oClone, oExpectedInnerError, sUrl, sResourcePath) {
		assert.notStrictEqual(oClone, oOriginal);
		assert.ok(oClone instanceof Error);
		assert.strictEqual(oClone.message, "Message");
		assert.strictEqual(oClone.requestUrl, sUrl);
		assert.strictEqual(oClone.resourcePath, sResourcePath);
		assert.strictEqual(oClone.status, 500);
		assert.strictEqual(oClone.statusText, "Internal Server Error");
		assert.notStrictEqual(oClone.error, oOriginal.error);
		assert.deepEqual(oClone.error, oExpectedInnerError);
	}
/**
	 * Checks the given cloned error according to the given expectations.
	 *
	 * @param {object} assert - The QUnit assert object
	 * @param {Error} oOriginal - The original error
	 * @param {Error} oClone - The cloned error
	 * @param {object} oExpectedInnerError - The expected inner error
	 * @param {string} sUrl - The expected request URL
	 * @param {string} sResourcePath - The expected resource path
	 */
Checks the given cloned error according to the given expectations.
Checks the given cloned error according to the given expectations .
function checkClonedError(assert, oOriginal, oClone, oExpectedInnerError, sUrl, sResourcePath) {
		assert.notStrictEqual(oClone, oOriginal);
		assert.ok(oClone instanceof Error);
		assert.strictEqual(oClone.message, "Message");
		assert.strictEqual(oClone.requestUrl, sUrl);
		assert.strictEqual(oClone.resourcePath, sResourcePath);
		assert.strictEqual(oClone.status, 500);
		assert.strictEqual(oClone.statusText, "Internal Server Error");
		assert.notStrictEqual(oClone.error, oOriginal.error);
		assert.deepEqual(oClone.error, oExpectedInnerError);
	}
function checkClonedError ( assert , oOriginal , oClone , oExpectedInnerError , sUrl , sResourcePath ) { assert . notStrictEqual ( oClone , oOriginal ) ; assert . ok ( oClone instanceof Error ) ; assert . strictEqual ( oClone . message , "Message" ) ; assert . strictEqual ( oClone . requestUrl , sUrl ) ; assert . strictEqual ( oClone . resourcePath , sResourcePath ) ; assert . strictEqual ( oClone . status , 500 ) ; assert . strictEqual ( oClone . statusText , "Internal Server Error" ) ; assert . notStrictEqual ( oClone . error , oOriginal . error ) ; assert . deepEqual ( oClone . error , oExpectedInnerError ) ; }
Checks the given cloned error according to the given expectations.
Checks the given cloned error according to the given expectations .