Class: NamespaceUnavailableFailure
errordetails.v1.NamespaceUnavailableFailure
NamespaceUnavailableFailure is returned by the service when a request addresses a namespace that is unavailable. For example, when a namespace is in the process of failing over between clusters. This is a transient error that should be automatically retried by clients.
Implements
Constructors
constructor
• new NamespaceUnavailableFailure(properties?): NamespaceUnavailableFailure
Constructs a new NamespaceUnavailableFailure.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | INamespaceUnavailableFailure | Properties to set |
Returns
Properties
namespace
• namespace: string
NamespaceUnavailableFailure namespace.
Implementation of
INamespaceUnavailableFailure.namespace
Methods
toJSON
▸ toJSON(): Object
Converts this NamespaceUnavailableFailure to JSON.
Returns
Object
JSON object
create
▸ create(properties?): NamespaceUnavailableFailure
Creates a new NamespaceUnavailableFailure instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | INamespaceUnavailableFailure | Properties to set |
Returns
NamespaceUnavailableFailure instance