Versions in this module Expand all Collapse all v0 v0.10.0 Feb 12, 2026 v0.9.7 Feb 11, 2026 Changes in this version + func PrePendPrivateVisibilityIdentifier(errorMessage string) string + type Error interface + Code func() ErrorCode + Equals func(otherErr Error) bool + Origin func() Origin + SerializeToRemoteString func() string + SerializeToString func() string + Visibility func() Visibility + func DeserializeErrorFromString(errorMsg string) Error + func NewError(err error, visibility Visibility, origin Origin, errorCode ErrorCode) Error + func NewPrivateSystemError(err error, errorCode ErrorCode) Error + func NewPrivateUserError(err error, errorCode ErrorCode) Error + func NewPublicSystemError(err error, errorCode ErrorCode) Error + func NewPublicUserError(err error, errorCode ErrorCode) Error + type ErrorCode uint32 + const Aborted + const AlreadyExists + const Canceled + const ConsensusFailed + const DataLoss + const DeadlineExceeded + const FailedPrecondition + const Internal + const InvalidArgument + const NotFound + const OutOfRange + const PermissionDenied + const ResourceExhausted + const Unauthenticated + const Unavailable + const Unimplemented + const Unknown + func FromErrorCodeString(str string) ErrorCode + func (e ErrorCode) String() string + type Origin int + const OriginSystem + const OriginUser + func FromOriginString(s string) Origin + func (o Origin) String() string + type Visibility int + const VisibilityPrivate + const VisibilityPublic + func FromVisibilityString(s string) Visibility + func (v Visibility) String() string