Reference documentation and code samples for the gapic-common class Gapic::GRPC::DeadlineExceededError.
An error class that represents Deadline Exceeded error with an optional
retry root cause.
The GRPC layer throws ::GRPC::DeadlineExceeded without any context.
If the deadline was exceeded while retrying another exception (e.g.
::GRPC::Unavailable), that exception could be useful for understanding
the readon for the timeout.
This exception rewraps ::GRPC::DeadlineExceeded, adding an exception
that was being retried until the deadline was exceeded (if any) as a
root_cause attribute.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# gapic-common - Class Gapic::GRPC::DeadlineExceededError (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/gapic-common/latest/Gapic-GRPC-DeadlineExceededError)\n- [1.0.1](/ruby/docs/reference/gapic-common/1.0.1/Gapic-GRPC-DeadlineExceededError)\n- [0.26.0](/ruby/docs/reference/gapic-common/0.26.0/Gapic-GRPC-DeadlineExceededError)\n- [0.25.0](/ruby/docs/reference/gapic-common/0.25.0/Gapic-GRPC-DeadlineExceededError)\n- [0.24.0](/ruby/docs/reference/gapic-common/0.24.0/Gapic-GRPC-DeadlineExceededError) \nReference documentation and code samples for the gapic-common class Gapic::GRPC::DeadlineExceededError.\n\nAn error class that represents Deadline Exceeded error with an optional\nretry root cause.\n\n\nThe GRPC layer throws ::GRPC::DeadlineExceeded without any context.\nIf the deadline was exceeded while retrying another exception (e.g.\n::GRPC::Unavailable), that exception could be useful for understanding\nthe readon for the timeout.\n\n\u003cbr /\u003e\n\nThis exception rewraps ::GRPC::DeadlineExceeded, adding an exception\nthat was being retried until the deadline was exceeded (if any) as a\n`root_cause` attribute. \n\nInherits\n--------\n\n- GRPC::DeadlineExceeded\n\nMethods\n-------\n\n### #initialize\n\n def initialize(message, root_cause: nil) -\u003e DeadlineExceededError\n\n**Parameters**\n\n- **message** (String) --- The error message.\n- **root_cause** (Object, nil) *(defaults to: nil)* --- The exception that was being retried when the DeadlineExceeded error occured. \n**Returns**\n\n- ([DeadlineExceededError](./Gapic-GRPC-DeadlineExceededError)) --- a new instance of DeadlineExceededError\n\n### #root_cause\n\n def root_cause() -\u003e Object, nil\n\n**Returns**\n\n- (Object, nil) --- The exception that was being retried when the DeadlineExceeded error occured."]]