Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCanceled = errors.New("canceled") ErrUnknown = errors.New("unknown") ErrInvalidArgument = errors.New("invalid argument") ErrDeadlineExceeded = errors.New("deadline exceeded") ErrNotFound = errors.New("not found") ErrAlreadyExists = errors.New("already exists") ErrPermissionDenied = errors.New("permission denied") ErrResourceExhausted = errors.New("resource exhausted") ErrFailedPrecondition = errors.New("failed precondition") ErrAborted = errors.New("aborted") ErrOutOfRange = errors.New("out of range") ErrUnimplemented = errors.New("unimplemented") ErrInternal = errors.New("internal") ErrDataLoss = errors.New("data loss") ErrUnauthenticated = errors.New("unauthenticated") )
Functions ¶
func WriteError ¶
Types ¶
type Error ¶ added in v1.8.0
func (*Error) MarshalJSON ¶ added in v1.8.0
func (*Error) UnmarshalJSON ¶ added in v1.8.0
Click to show internal directories.
Click to hide internal directories.