bloombox / bloombox.client.services.shop / ShopClientError

ShopClientError

enum class ShopClientError : ClientError (source)

Enumerates known or otherwise identifiable shop errors that might occur.

Enum Values

PARTNER_INVALID

Specifies that the partner code was missing or invalid.

LOCATION_INVALID

Specifies that the location code was missing or invalid.

Inherited Functions

message

abstract fun message(): String

Error message to return or display. The service's error code is sent for this value. In rare circumstances, the name of the resulting gRPC status may be returned if no specific error status is available.

status

abstract fun status(): Status

Underlying gRPC status code that resulted from this error. These error codes rougly map to HTTP errors, and can be found in gRPC's docs at https://grpc.io.