Skip to content 

INackContent Interface

Packages > @fluidframework/protocol-definitions > INackContent

Interface for nack content.

Signature:

export interface INackContent 

Properties

List of properties of this interface
Property Type Description
code number An error code number that represents the error. It will be a valid HTTP error code. 403 errors are non retryable 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).
message string A message about the nack for debugging/logging/telemetry purposes
retryAfter number Optional Retry-After time in seconds If specified, the client should wait this many seconds before retrying
type NackErrorType Type of the Nack.

Events

code

An error code number that represents the error. It will be a valid HTTP error code. 403 errors are non retryable 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).

Signature:

code: number;

message

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

Signature:

message: string;

retryAfter

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

Signature:

retryAfter?: number;

type

Type of the Nack.

Signature:

type: NackErrorType;