Versions in this module Expand all Collapse all v2 v2.2.8 Jun 21, 2025 Changes in this version + var ErrActorExists = New("actor exists") + var ErrClientClosed = New("client is closed") + var ErrClientShut = New("client is shut") + var ErrConnectionClosed = New("connection is closed") + var ErrConnectionHanged = New("connection is hanged") + var ErrConnectionNotHanged = New("connection is not hanged") + var ErrConnectionNotOpened = New("connection is not opened") + var ErrConnectionOpened = New("connection is opened") + var ErrDeadlineExceeded = New("deadline exceeded") + var ErrIllegalOperation = New("illegal operation") + var ErrIllegalRequest = New("illegal request") + var ErrInvalidArgument = New("invalid argument") + var ErrInvalidConfigContent = New("invalid config content") + var ErrInvalidDecoder = New("invalid decoder") + var ErrInvalidFormat = New("invalid format") + var ErrInvalidGID = New("invalid gate id") + var ErrInvalidMessage = New("invalid message") + var ErrInvalidNID = New("invalid node id") + var ErrInvalidPointer = New("invalid pointer") + var ErrInvalidReader = New("invalid reader") + var ErrInvalidScanner = New("invalid scanner") + var ErrInvalidSessionKind = New("invalid session kind") + var ErrMessageTooLarge = New("message too large") + var ErrMissingDiscovery = New("missing discovery") + var ErrMissingDispatchStrategy = New("missing dispatch strategy") + var ErrMissingResolver = New("missing resolver") + var ErrMissingTransporter = New("missing transporter") + var ErrNil = New("nil") + var ErrNoOperationPermission = New("no operation permission") + var ErrNotBindActor = New("not bind actor") + var ErrNotFoundActor = New("not found actor") + var ErrNotFoundConfigSource = New("not found config source") + var ErrNotFoundEndpoint = New("not found endpoint") + var ErrNotFoundEvent = New("not found event") + var ErrNotFoundLocator = New("not found locator") + var ErrNotFoundRoute = New("not found route") + var ErrNotFoundServiceAddress = New("not found service address") + var ErrNotFoundSession = New("not found session") + var ErrNotFoundUserLocation = New("not found user's location") + var ErrReceiveTargetEmpty = New("the receive target is empty") + var ErrRouteOverflow = New("route overflow") + var ErrSeqOverflow = New("seq overflow") + var ErrTooManyConnection = New("too many connection") + var ErrUnexpectedEOF = New("unexpected EOF") + var ErrUnknownError = New("unknown error") + var ErrUnregisterRoute = New("unregistered route") + var ErrWriterClosing = New("writer is closing") + func As(err error, target any) bool + func Cause(err error) error + func Code(err error) *codes.Code + func Is(err, target error) bool + func New(text string) error + func Next(err error) error + func Replace(err error, text string, condition ...codes.Code) error + func Stack(err error) *stack.Stack + func Unwrap(err error) error + type Error struct + func NewError(args ...any) *Error + func NewErrorWithStack(args ...any) *Error + func (e *Error) Cause() error + func (e *Error) Code() *codes.Code + func (e *Error) Error() (text string) + func (e *Error) Format(s fmt.State, verb rune) + func (e *Error) Next() error + func (e *Error) Replace(text string, condition ...*codes.Code) error + func (e *Error) Stack() *stack.Stack + func (e *Error) String() string + func (e *Error) Unwrap() error