github.com/altipla-consulting/ravendb-go-client@v0.1.3/indexing_error.go (about)

     1  package ravendb
     2  
     3  // IndexingError describes indexing error message from the server
     4  type IndexingError struct {
     5  	Error     string `json:"Error"`
     6  	Timestamp Time   `json:"Timestamp"`
     7  	Document  string `json:"Document"`
     8  	Action    string `json:"Action"`
     9  }
    10  
    11  func (e *IndexingError) String() string {
    12  	return "Error: " + e.Error + ", Document: " + e.Document + ", Action: " + e.Action
    13  }