Versions in this module Expand all Collapse all v1 v1.0.0 Sep 19, 2026 Changes in this version + func AlreadyExistsType(err error) string + func NewAlreadyExistsError(code Code, existsType string, args ...interface{}) error + func NewError(code Code, args ...interface{}) error + type Code uint32 + const Aborted + const AlreadyExists + const Canceled + const Closed + const CustomCodes + const DataLoss + const DeadlineExceeded + const FailedPrecondition + const Internal + const InvalidArgument + const InvalidStreamObject + const LastCode + const NotFound + const OK + const OutOfRange + const PermissionDenied + const ResourceExhausted + const Unauthenticated + const Unavailable + const Unimplemented + const Unknown + func CodeOf(err error) Code + type Error struct + AlreadyExistsType string + Code Code + Err error + func (e *Error) Error() string