@fluidframework/container-utils Package

Packages > @fluidframework/container-utils

Classes

List of classes contained in this package or namespace
Class Description
DataCorruptionError
DataProcessingError
GenericError Generic error

Functions

List of functions contained in this package or namespace
Function Description
CreateContainerError(error) Convert the error into one of the error types.
CreateProcessingError(error, message) Conditionally coerce the throwable input into a DataProcessingError.

Variables

List of variables contained in this package or namespace
Variable Description
extractSafePropertiesFromMessage

Functions

CreateContainerError

Convert the error into one of the error types.

Signature:

export declare function CreateContainerError(error: any): ICriticalContainerError;

Parameters

List of parameters
Parameter Type Description
error any Error to be converted.

Returns:

ICriticalContainerError

CreateProcessingError

Conditionally coerce the throwable input into a DataProcessingError.

Signature:

export declare function CreateProcessingError(error: any, message: ISequencedDocumentMessage | undefined): ICriticalContainerError;

Parameters

List of parameters
Parameter Type Description
error any Throwable input to be converted.
message ISequencedDocumentMessage | undefined

Returns:

ICriticalContainerError

Variables

extractSafePropertiesFromMessage

Signature:

extractSafePropertiesFromMessage: (message: ISequencedDocumentMessage) => {
    messageClientId: string;
    messageSequenceNumber: number;
    messageClientSequenceNumber: number;
    messageReferenceSequenceNumber: number;
    messageMinimumSequenceNumber: number;
    messageTimestamp: number;
}