@fluidframework/container-utils
Advanced tools
Comparing version 0.26.2 to 0.26.3
@@ -5,4 +5,13 @@ /*! | ||
*/ | ||
import { ICriticalContainerError } from "@fluidframework/container-definitions"; | ||
import { ContainerErrorType, IGenericError, ICriticalContainerError } from "@fluidframework/container-definitions"; | ||
import { CustomErrorWithProps } from "@fluidframework/telemetry-utils"; | ||
/** | ||
* Generic error | ||
*/ | ||
export declare class GenericError extends CustomErrorWithProps implements IGenericError { | ||
readonly error: any; | ||
readonly errorType = ContainerErrorType.genericError; | ||
constructor(errorMessage: string, error: any); | ||
} | ||
/** | ||
* Convert the error into one of the error types. | ||
@@ -9,0 +18,0 @@ * @param error - Error to be converted. |
@@ -27,2 +27,3 @@ "use strict"; | ||
} | ||
exports.GenericError = GenericError; | ||
/** | ||
@@ -29,0 +30,0 @@ * Convert the error into one of the error types. |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/container-utils"; | ||
export declare const pkgVersion = "0.26.2"; | ||
export declare const pkgVersion = "0.26.3"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -10,3 +10,3 @@ "use strict"; | ||
exports.pkgName = "@fluidframework/container-utils"; | ||
exports.pkgVersion = "0.26.2"; | ||
exports.pkgVersion = "0.26.3"; | ||
//# sourceMappingURL=packageVersion.js.map |
@@ -5,4 +5,13 @@ /*! | ||
*/ | ||
import { ICriticalContainerError } from "@fluidframework/container-definitions"; | ||
import { ContainerErrorType, IGenericError, ICriticalContainerError } from "@fluidframework/container-definitions"; | ||
import { CustomErrorWithProps } from "@fluidframework/telemetry-utils"; | ||
/** | ||
* Generic error | ||
*/ | ||
export declare class GenericError extends CustomErrorWithProps implements IGenericError { | ||
readonly error: any; | ||
readonly errorType = ContainerErrorType.genericError; | ||
constructor(errorMessage: string, error: any); | ||
} | ||
/** | ||
* Convert the error into one of the error types. | ||
@@ -9,0 +18,0 @@ * @param error - Error to be converted. |
@@ -18,3 +18,3 @@ /*! | ||
*/ | ||
class GenericError extends CustomErrorWithProps { | ||
export class GenericError extends CustomErrorWithProps { | ||
constructor(errorMessage, error) { | ||
@@ -21,0 +21,0 @@ super(errorMessage); |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/container-utils"; | ||
export declare const pkgVersion = "0.26.2"; | ||
export declare const pkgVersion = "0.26.3"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -8,3 +8,3 @@ /*! | ||
export const pkgName = "@fluidframework/container-utils"; | ||
export const pkgVersion = "0.26.2"; | ||
export const pkgVersion = "0.26.3"; | ||
//# sourceMappingURL=packageVersion.js.map |
{ | ||
"name": "@fluidframework/container-utils", | ||
"version": "0.26.2", | ||
"version": "0.26.3", | ||
"description": "Fluid container utils", | ||
@@ -54,4 +54,4 @@ "homepage": "https://fluidframework.com", | ||
"dependencies": { | ||
"@fluidframework/container-definitions": "^0.26.2", | ||
"@fluidframework/telemetry-utils": "^0.26.2" | ||
"@fluidframework/container-definitions": "^0.26.3", | ||
"@fluidframework/telemetry-utils": "^0.26.3" | ||
}, | ||
@@ -61,3 +61,3 @@ "devDependencies": { | ||
"@fluidframework/eslint-config-fluid": "^0.19.1", | ||
"@fluidframework/mocha-test-setup": "^0.26.2", | ||
"@fluidframework/mocha-test-setup": "^0.26.3", | ||
"@microsoft/api-extractor": "^7.7.2", | ||
@@ -64,0 +64,0 @@ "@types/mocha": "^5.2.5", |
@@ -20,3 +20,3 @@ /*! | ||
*/ | ||
class GenericError extends CustomErrorWithProps implements IGenericError { | ||
export class GenericError extends CustomErrorWithProps implements IGenericError { | ||
readonly errorType = ContainerErrorType.genericError; | ||
@@ -23,0 +23,0 @@ |
@@ -9,2 +9,2 @@ /*! | ||
export const pkgName = "@fluidframework/container-utils"; | ||
export const pkgVersion = "0.26.2"; | ||
export const pkgVersion = "0.26.3"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25750
333