@sonarwatch/portfolio-core 0.14.49 → 0.14.50
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/CHANGELOG.md +2688 -2684
- package/README.md +3 -3
- package/package.json +1 -1
- package/src/errors/PortfolioError.d.ts +4 -4
- package/src/errors/PortfolioError.js +2 -2
- package/src/errors/PortfolioError.js.map +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# @sonarwatch/portfolio-core
|
|
2
|
-
|
|
3
|
-
This library is @sonarwatch/portfolio-core
|
|
1
|
+
# @sonarwatch/portfolio-core
|
|
2
|
+
|
|
3
|
+
This library is @sonarwatch/portfolio-core
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare class PortfolioError extends Error {
|
|
2
2
|
readonly name: string;
|
|
3
|
-
readonly
|
|
4
|
-
readonly source:
|
|
3
|
+
readonly isPortfolioError = true;
|
|
4
|
+
readonly source: PortfolioErrorSource;
|
|
5
5
|
readonly sourceDetails?: string;
|
|
6
6
|
readonly cause?: Error;
|
|
7
|
-
constructor(message: string, source:
|
|
7
|
+
constructor(message: string, source: PortfolioErrorSource, sourceDetails?: string, cause?: Error);
|
|
8
8
|
toString(): string;
|
|
9
9
|
}
|
|
10
|
-
export type
|
|
10
|
+
export type PortfolioErrorSource = 'adapter' | 'manager' | 'sdk';
|
|
@@ -4,8 +4,8 @@ exports.PortfolioError = void 0;
|
|
|
4
4
|
class PortfolioError extends Error {
|
|
5
5
|
constructor(message, source, sourceDetails, cause) {
|
|
6
6
|
super(message);
|
|
7
|
-
this.name = '
|
|
8
|
-
this.
|
|
7
|
+
this.name = 'PortfolioError';
|
|
8
|
+
this.isPortfolioError = true;
|
|
9
9
|
this.source = source;
|
|
10
10
|
this.sourceDetails = sourceDetails;
|
|
11
11
|
this.cause = cause;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PortfolioError.js","sourceRoot":"","sources":["../../../../../packages/core/src/errors/PortfolioError.ts"],"names":[],"mappings":";;;AAAA,MAAa,cAAe,SAAQ,KAAK;IAOvC,YACE,OAAe,EACf,
|
|
1
|
+
{"version":3,"file":"PortfolioError.js","sourceRoot":"","sources":["../../../../../packages/core/src/errors/PortfolioError.ts"],"names":[],"mappings":";;;AAAA,MAAa,cAAe,SAAQ,KAAK;IAOvC,YACE,OAAe,EACf,MAA4B,EAC5B,aAAsB,EACtB,KAAa;QAEb,KAAK,CAAC,OAAO,CAAC,CAAC;QAZC,SAAI,GAAW,gBAAgB,CAAC;QACzC,qBAAgB,GAAG,IAAI,CAAC;QAY/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,OAAO,GAAG,GAAG,IAAI,CAAC,OAAO,GAC5B,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC,CAAC,EACrD,EAAE,CAAC;IACL,CAAC;IAEQ,QAAQ;QACf,OAAO,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,EAAE,CAAC;IAC1C,CAAC;CACF;AAzBD,wCAyBC"}
|