Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code uint32
const ( // OK is returned on success. OK Code = iota + 1 // InvalidArgument indicates client specified an invalid argument. InvalidArgument // 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. DeadlineExceeded // NotFound means some requested entity (e.g., file or directory) was // not found. NotFound // AlreadyExists means an attempt to create an entity failed because one // already exists. AlreadyExists // PermissionDenied indicates the caller does not have permission to // execute the specified operation. It must not be used for rejections // caused by exhausting some resource. It must not be // used if the caller cannot be identified (use Unauthenticated // instead for those errors). PermissionDenied // Aborted indicates the operation was aborted, typically due to a // concurrency issue like sequencer check failures, transaction aborts, // etc. // Aborted, and Unavailable. Aborted // OutOfRange means 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. OutOfRange // Internal errors. Means some invariants expected by underlying // system has been broken. If you see one of these errors, // something is very broken. Internal // This is a most likely a transient condition and may be corrected // by retrying with a backoff. Note that it is not always safe to retry // non-idempotent operations. Unavailable // Unauthenticated indicates the request does not have valid // authentication credentials for the operation. Unauthenticated )
Click to show internal directories.
Click to hide internal directories.