INackContent Interface
Interface for nack content.
To use, import via @fluidframework/driver-definitions/legacy
.
For more information about our API support guarantees, see here.
Signature
export interface INackContent
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
code | Alpha |
number | 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). | |
message | Alpha |
string | A message about the nack for debugging/logging/telemetry purposes | |
retryAfter | Alpha |
optional |
number | Optional Retry-After time in seconds If specified, the client should wait this many seconds before retrying |
type | Alpha |
NackErrorType | Type 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).
To use, import via @fluidframework/driver-definitions/alpha
.
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
To use, import via @fluidframework/driver-definitions/alpha
.
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
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
retryAfter?: number;
Type: number
type
Type of the Nack.
To use, import via @fluidframework/driver-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
type: NackErrorType;
Type: NackErrorType