[[["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-09-09 UTC."],[],[],null,["# Google Cloud Service Control V1 Client - Class CheckError (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-service-control/latest/V1.CheckError)\n- [2.0.3](/php/docs/reference/cloud-service-control/2.0.3/V1.CheckError)\n- [1.4.4](/php/docs/reference/cloud-service-control/1.4.4/V1.CheckError)\n- [1.3.0](/php/docs/reference/cloud-service-control/1.3.0/V1.CheckError)\n- [1.2.1](/php/docs/reference/cloud-service-control/1.2.1/V1.CheckError)\n- [1.1.1](/php/docs/reference/cloud-service-control/1.1.1/V1.CheckError)\n- [1.0.6](/php/docs/reference/cloud-service-control/1.0.6/V1.CheckError) \nReference documentation and code samples for the Google Cloud Service Control V1 Client class CheckError.\n\nDefines the errors to be returned in\n[google.api.servicecontrol.v1.CheckResponse.check_errors](/php/docs/reference/cloud-service-control/latest/V1.CheckResponse#_Google_Cloud_ServiceControl_V1_CheckResponse__getCheckErrors__).\n\nGenerated from protobuf message `google.api.servicecontrol.v1.CheckError`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ServiceControl \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCode\n\nThe error code.\n\n### setCode\n\nThe error code.\n\n### getSubject\n\nSubject to whom this error applies. See the specific code enum for more\ndetails on this field. For example:\n\n- \"project:\n- \"folder:\n- \"organization:\n\n### setSubject\n\nSubject to whom this error applies. See the specific code enum for more\ndetails on this field. For example:\n\n- \"project:\n- \"folder:\n- \"organization:\n\n### getDetail\n\nFree-form text providing details on the error cause of the error.\n\n### setDetail\n\nFree-form text providing details on the error cause of the error.\n\n### getStatus\n\nContains public information about the check error. If available,\n`status.code` will be non zero and client can propagate it out as public\nerror.\n\n### hasStatus\n\n### clearStatus\n\n### setStatus\n\nContains public information about the check error. If available,\n`status.code` will be non zero and client can propagate it out as public\nerror."]]