# google-cloud-errors - Class Google::Cloud::DeadlineExceededError (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 Reference documentation and code samples for the google-cloud-errors class Google::Cloud::DeadlineExceededError.

DeadlineExceeded means operation expired before completion.
For operations that change the state of the system, this error may be
returned even if the operation has completed successfully. For
example, a successful response from a server could have been delayed
long enough for the deadline to expire.

## Inherits

- [Google::Cloud::Error](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-errors/latest/Google-Cloud-Error)

## Methods

### #code

    def code() -> Integer

gRPC error code for DEADLINE_EXCEEDED
**Returns**

- (Integer)