public sealed class StorageError : IMessage<StorageError>, IEquatable<StorageError>, IDeepCloneable<StorageError>, IBufferMessage, IMessage
Reference documentation and code samples for the Google BigQuery Storage v1 API class StorageError.
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
IMessageStorageError, IEquatableStorageError, IDeepCloneableStorageError, 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 |
StorageErrorTypesStorageErrorCode |
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 |