ConstReadonlyABORTED: "ABORTED"Aborted indicates the operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.
ReadonlyALREADY_EXISTS: "ALREADY_EXISTS"AlreadyExists means an attempt to create an entity failed because one already exists.
ReadonlyCANCELLED: "CANCELLED"Cancelled indicates the operation was cancelled (typically by the caller).
ReadonlyDATA_LOSS: "DATA_LOSS"DataLoss indicates unrecoverable data loss or corruption.
ReadonlyDEADLINE_EXCEEDED: "DEADLINE_EXCEEDED"DeadlineExceeded means the operation expired before completion.
For operations that modify 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.
ReadonlyFAILED_PRECONDITION: "FAILED_PRECONDITION"FailedPrecondition indicates the operation was rejected because the system is not in a state required for the operation's execution. For example, directory to be deleted may be non-empty, an rmdir operation is applied to a non-directory, etc.
ReadonlyINTERNAL: "INTERNAL"Internal indicates an internal error. This means some invariants expected by the underlying system have been broken. If you see this error, something is very broken.
ReadonlyINVALID_ARGUMENT: "INVALID_ARGUMENT"InvalidArgument indicates the client specified an invalid argument.
By contrast with FailedPrecondition, InvalidArgument indicates arguments that are problematic regardless of the state of the system. For example, a malformed request parameter.
ReadonlyNOT_FOUND: "NOT_FOUND"NotFound means a requested entity (e.g. a resource or a file) was not found.
ReadonlyOK: "OK"OK indicates the operation completed successfully.
ReadonlyOUT_OF_RANGE: "OUT_OF_RANGE"OutOfRange means the operation was attempted past the valid range. E.g., seeking or reading past end of file.
Unlike InvalidArgument, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate InvalidArgument if asked to read at an offset that is not in the range [0,2^32-1], but it will generate OutOfRange if asked to read from an offset past the current file size.
There is a fair bit of overlap between FailedPrecondition and OutOfRange. We recommend using OutOfRange (the more specific error) when it applies so that callers who are iterating through a space can easily look for an OutOfRange error to detect when they are done.
ReadonlyPERMISSION_DENIED: "PERMISSION_DENIED"PermissionDenied indicates the caller does not have permission to execute the specified operation.
This is different from an error returned when the user has exhausted some resource (e.g. too many requests) which is a ResourceExhausted error.
ReadonlyRESOURCE_EXHAUSTED: "RESOURCE_EXHAUSTED"ResourceExhausted indicates some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.
ReadonlyUNAUTHENTICATED: "UNAUTHENTICATED"Unauthenticated indicates the request does not have valid authentication credentials for the operation.
ReadonlyUNAVAILABLE: "UNAVAILABLE"Unavailable indicates the service is currently unavailable.
This is most likely a transient condition and may be corrected by retrying. Though, this might not always be safe to retry if the operation is non-idempotent.
The Databricks SDK will generally automatically retry the request with a backoff when encountering this error.
ReadonlyUNIMPLEMENTED: "UNIMPLEMENTED"Unimplemented indicates the operation is not implemented or not supported/enabled in this service.
ReadonlyUNKNOWN: "UNKNOWN"Unknown indicates an error that cannot be classified. It is used for malformed error responses and for responses that carry no string error code (missing or an integer).
Code is the error code carried by an API error.