Skip to main content

INackContent Interface

Interface for nack content.

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/driver-definitions/legacy.

For more information about our API support guarantees, see here.

Signature

export interface INackContent

Properties

PropertyAlertsModifiersTypeDescription
codeBetanumberAn error code number that represents the error. It will be a valid HTTP error code. 403 errors are non retriable and client should acquire a new identity before reconnection. 400 errors are always immediately retriable 429 errors are retriable or non retriable (depends on type field).
messageBetastringA message about the nack for debugging/logging/telemetry purposes
retryAfterBetaoptionalnumberOptional Retry-After time in seconds If specified, the client should wait this many seconds before retrying
typeBetaNackErrorTypeType of the Nack.

Property Details

code

An error code number that represents the error. It will be a valid HTTP error code. 403 errors are non retriable and client should acquire a new identity before reconnection. 400 errors are always immediately retriable 429 errors are retriable or non retriable (depends on type field).

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

code: number;

Type: number

message

A message about the nack for debugging/logging/telemetry purposes

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

message: string;

Type: string

retryAfter

Optional Retry-After time in seconds If specified, the client should wait this many seconds before retrying

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

retryAfter?: number;

Type: number

type

Type of the Nack.

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature

type: NackErrorType;

Type: NackErrorType