Class StorageError (3.1.0)

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.

Inheritance

Object > StorageError

Namespace

Google.Cloud.BigQuery.Storage.V1

Assembly

Google.Cloud.BigQuery.Storage.V1.dll

Constructors

StorageError()

public StorageError()

StorageError(StorageError)

public StorageError(StorageError other)
Parameter
NameDescription
otherStorageError

Properties

Code

public StorageError.Types.StorageErrorCode Code { get; set; }

BigQuery Storage specific error code.

Property Value
TypeDescription
StorageError.Types.StorageErrorCode

Entity

public string Entity { get; set; }

Name of the failed entity.

Property Value
TypeDescription
String

ErrorMessage

public string ErrorMessage { get; set; }

Message that describes the error.

Property Value
TypeDescription
String