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.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for Go