Hide
Go

Google Cloud Storage Errors and Error Handling

Errors

The GCS client library has the following error variables defined:

storage.ErrBucketNotExist
This error is returned when a named bucket does not exist.
storage.ErrObjectNotExist
This error is returned when a named object does not exist.

Error Handling

Error handling is performed in the standard Go style. For more information about idiomatic Go error handling, please see Error handling and Go.