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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#code
def code() -> ::Google::Cloud::Bigquery::Storage::V1::StorageError::StorageErrorCode
Returns
- (::Google::Cloud::Bigquery::Storage::V1::StorageError::StorageErrorCode) — BigQuery Storage specific error code.
#code=
def code=(value) -> ::Google::Cloud::Bigquery::Storage::V1::StorageError::StorageErrorCode
Parameter
- value (::Google::Cloud::Bigquery::Storage::V1::StorageError::StorageErrorCode) — BigQuery Storage specific error code.
Returns
- (::Google::Cloud::Bigquery::Storage::V1::StorageError::StorageErrorCode) — BigQuery Storage specific error code.
#entity
def entity() -> ::String
Returns
- (::String) — Name of the failed entity.
#entity=
def entity=(value) -> ::String
Parameter
- value (::String) — Name of the failed entity.
Returns
- (::String) — Name of the failed entity.
#error_message
def error_message() -> ::String
Returns
- (::String) — Message that describes the error.
#error_message=
def error_message=(value) -> ::String
Parameter
- value (::String) — Message that describes the error.
Returns
- (::String) — Message that describes the error.