Class BulkWriterError (7.11.0)

The error thrown when a BulkWriter operation fails.

BulkWriterError

Inheritance

Error > BulkWriterError

Package

@google-cloud/firestore

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the BulkWriterError class.

Properties

code

  readonly 
  
 code 
 : 
  
 GrpcStatus 
 ; 
 

The status code of the error.

documentRef

  readonly 
  
 documentRef 
 : 
  
 firestore 
 . 
 DocumentReference<any 
 , 
  
 any 
> ; 
 

The document reference the operation was performed on.

failedAttempts

  readonly 
  
 failedAttempts 
 : 
  
 number 
 ; 
 

How many times this operation has been attempted unsuccessfully.

message

  readonly 
  
 message 
 : 
  
 string 
 ; 
 

The error message of the error.

operationType

  readonly 
  
 operationType 
 : 
  
 'create' 
  
 | 
  
 'set' 
  
 | 
  
 'update' 
  
 | 
  
 'delete' 
 ; 
 

The type of operation performed.

Design a Mobile Site
View Site in Mobile | Classic
Share by: