[[["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::GenericLRO::Operation::GenericError (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/gapic-common/latest/Gapic-GenericLRO-Operation-GenericError)\n- [1.0.1](/ruby/docs/reference/gapic-common/1.0.1/Gapic-GenericLRO-Operation-GenericError)\n- [0.26.0](/ruby/docs/reference/gapic-common/0.26.0/Gapic-GenericLRO-Operation-GenericError)\n- [0.25.0](/ruby/docs/reference/gapic-common/0.25.0/Gapic-GenericLRO-Operation-GenericError)\n- [0.24.0](/ruby/docs/reference/gapic-common/0.24.0/Gapic-GenericLRO-Operation-GenericError) \nReference documentation and code samples for the gapic-common class Gapic::GenericLRO::Operation::GenericError.\n\nRepresents a generic error that a generic LRO can report \n\nInherits\n--------\n\n- Object\n\nMethods\n-------\n\n### #code\n\n def code() -\u003e String\n\n**Returns**\n\n- (String) --- An error code\n\n### #code=\n\n def code=(value)\n\nSets the attribute code\n\n### #initialize\n\n def initialize(code, message) -\u003e GenericError\n\n**Parameters**\n\n- **code** (String) --- An error code\n- **message** (String) --- An error message \n**Returns**\n\n- ([GenericError](./Gapic-GenericLRO-Operation-GenericError)) --- a new instance of GenericError\n\n### #message\n\n def message() -\u003e String\n\n**Returns**\n\n- (String) --- An error message\n\n### #message=\n\n def message=(value)\n\nSets the attribute message"]]