@ardimedia/angular-portal-azure 0.2.54 → 0.2.55
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 +5 -2
- package/apn.js +3 -0
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -316,14 +316,17 @@ declare namespace angularportalazure {
|
|
|
316
316
|
declare namespace angularportalazure {
|
|
317
317
|
}
|
|
318
318
|
declare namespace angularportalazure {
|
|
319
|
-
/** If a Web API
|
|
319
|
+
/** If a Web API throws an exception, the following interface should be used to communicate the execption. */
|
|
320
320
|
interface IException {
|
|
321
321
|
ExceptionType: string;
|
|
322
322
|
ClassName: string;
|
|
323
|
-
Message: string;
|
|
324
323
|
Data: Object;
|
|
325
324
|
Type: string;
|
|
326
325
|
Messages?: string[];
|
|
326
|
+
Message: string;
|
|
327
|
+
MessageDetail: string;
|
|
328
|
+
Status: string;
|
|
329
|
+
StatusText: string;
|
|
327
330
|
}
|
|
328
331
|
}
|
|
329
332
|
declare namespace angularportalazure {
|
package/apn.js
CHANGED
|
@@ -1125,6 +1125,9 @@ var angularportalazure;
|
|
|
1125
1125
|
//#region Methods
|
|
1126
1126
|
BladeData.prototype.processException = function (data) {
|
|
1127
1127
|
var that = this;
|
|
1128
|
+
// Find a better way to log information, maybe to the database or to Google Analytics.
|
|
1129
|
+
console.log('Exception:');
|
|
1130
|
+
console.log(data);
|
|
1128
1131
|
that.statusbar = data.Message;
|
|
1129
1132
|
that.statusbar += ' - ';
|
|
1130
1133
|
data.Messages.forEach(function (item) {
|
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.55",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|