@ardimedia/angular-portal-azure 0.2.199 → 0.2.200
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apn.d.ts +1 -0
- package/apn.js +11 -1
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -423,6 +423,7 @@ declare namespace angularportalazure {
|
|
|
423
423
|
private static processDotNetException1(response);
|
|
424
424
|
private static processDotNetException2(response);
|
|
425
425
|
private static setExceptionType(response, exception);
|
|
426
|
+
getMessageAndExceptionMessage(): string;
|
|
426
427
|
}
|
|
427
428
|
}
|
|
428
429
|
declare namespace angularportalazure {
|
package/apn.js
CHANGED
|
@@ -1378,7 +1378,7 @@ var angularportalazure;
|
|
|
1378
1378
|
return _super.apply(this, arguments) || this;
|
|
1379
1379
|
}
|
|
1380
1380
|
//#endregion
|
|
1381
|
-
//#region Methods
|
|
1381
|
+
//#region Static Methods
|
|
1382
1382
|
// TODO:2017-01-09/hp: [any] will be [Response] in angular2
|
|
1383
1383
|
Exception.prepareException = function (response) {
|
|
1384
1384
|
console.log('convertException: input [angular.IHttpPromiseCallbackArg<angularportalazure.Exception>]');
|
|
@@ -1468,6 +1468,16 @@ var angularportalazure;
|
|
|
1468
1468
|
}
|
|
1469
1469
|
exception.ExceptionType = response.data.ExceptionType;
|
|
1470
1470
|
};
|
|
1471
|
+
//#endregion
|
|
1472
|
+
//#region Public Methods
|
|
1473
|
+
Exception.prototype.getMessageAndExceptionMessage = function () {
|
|
1474
|
+
if (this.ExceptionMessage === undefined) {
|
|
1475
|
+
return this.Message;
|
|
1476
|
+
}
|
|
1477
|
+
else {
|
|
1478
|
+
return this.Message + " " + this.ExceptionMessage;
|
|
1479
|
+
}
|
|
1480
|
+
};
|
|
1471
1481
|
return Exception;
|
|
1472
1482
|
}(angularportalazure.ValidationsExceptionDotNet));
|
|
1473
1483
|
angularportalazure.Exception = Exception;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ardimedia/angular-portal-azure",
|
|
3
3
|
"description": "Angular Portal Azure - GUI Framework.",
|
|
4
4
|
"author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.200",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|