public sealed class StorageError : IMessage<StorageError>, IEquatable<StorageError>, IDeepCloneable<StorageError>, IBufferMessage, IMessage
Structured custom BigQuery Storage error message. The error can be attached as error details in the returned rpc Status. In particular, the use of error codes allows more structured error handling, and reduces the need to evaluate unstructured error text strings.
Implements
IMessage<StorageError>, IEquatable<StorageError>, IDeepCloneable<StorageError>, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.Storage.V1Assembly
Google.Cloud.BigQuery.Storage.V1.dll
Constructors
StorageError()
public StorageError()
StorageError(StorageError)
public StorageError(StorageError other)
Parameter | |
---|---|
Name | Description |
other | StorageError |
Properties
Code
public StorageError.Types.StorageErrorCode Code { get; set; }
BigQuery Storage specific error code.
Property Value | |
---|---|
Type | Description |
StorageError.Types.StorageErrorCode |
Entity
public string Entity { get; set; }
Name of the failed entity.
Property Value | |
---|---|
Type | Description |
String |
ErrorMessage
public string ErrorMessage { get; set; }
Message that describes the error.
Property Value | |
---|---|
Type | Description |
String |