github.com/ergo-services/ergo@v1.999.224/lib/errors.go (about) 1 package lib 2 3 import "fmt" 4 5 var ( 6 ErrAppAlreadyLoaded = fmt.Errorf("application is already loaded") 7 ErrAppAlreadyStarted = fmt.Errorf("application is already started") 8 ErrAppUnknown = fmt.Errorf("unknown application name") 9 ErrAppIsNotRunning = fmt.Errorf("application is not running") 10 ErrNameUnknown = fmt.Errorf("unknown name") 11 ErrNameOwner = fmt.Errorf("not an owner") 12 ErrProcessBusy = fmt.Errorf("process is busy") 13 ErrProcessMailboxFull = fmt.Errorf("process mailbox is full") 14 ErrProcessUnknown = fmt.Errorf("unknown process") 15 ErrProcessContext = fmt.Errorf("not a Process context") 16 ErrProcessIncarnation = fmt.Errorf("process ID belongs to the previous incarnation") 17 ErrProcessTerminated = fmt.Errorf("process terminated") 18 ErrMonitorUnknown = fmt.Errorf("unknown monitor reference") 19 ErrSenderUnknown = fmt.Errorf("unknown sender") 20 ErrBehaviorUnknown = fmt.Errorf("unknown behavior") 21 ErrBehaviorGroupUnknown = fmt.Errorf("unknown behavior group") 22 ErrAliasUnknown = fmt.Errorf("unknown alias") 23 ErrAliasOwner = fmt.Errorf("not an owner") 24 ErrEventMismatch = fmt.Errorf("message type mismatch") 25 ErrEventUnknown = fmt.Errorf("unknown event type") 26 ErrEventOwner = fmt.Errorf("not an owner") 27 ErrEventSelf = fmt.Errorf("monitor events from itself") 28 ErrNoRoute = fmt.Errorf("no route to node") 29 ErrTaken = fmt.Errorf("resource is taken") 30 ErrFragmented = fmt.Errorf("fragmented data") 31 ErrReferenceUnknown = fmt.Errorf("unknown reference") 32 33 ErrRouteName = fmt.Errorf("incorrect route name") 34 35 ErrTimeout = fmt.Errorf("timed out") 36 ErrUnsupported = fmt.Errorf("not supported") 37 ErrUnknown = fmt.Errorf("unknown") 38 ErrPeerUnsupported = fmt.Errorf("peer does not support this feature") 39 40 ErrUnsupportedRequest = fmt.Errorf("unsupported request") 41 ErrServerTerminated = fmt.Errorf("server terminated") 42 43 ErrProxyUnknownRequest = fmt.Errorf("unknown proxy request") 44 ErrProxyTransitDisabled = fmt.Errorf("proxy feature disabled") 45 ErrProxyTransitRestricted = fmt.Errorf("proxy connect restricted") 46 ErrProxyNoRoute = fmt.Errorf("no proxy route to node") 47 ErrProxyConnect = fmt.Errorf("can't establish proxy connection") 48 ErrProxyHopExceeded = fmt.Errorf("proxy hop is exceeded") 49 ErrProxyLoopDetected = fmt.Errorf("proxy loop detected") 50 ErrProxyPathTooLong = fmt.Errorf("proxy path too long") 51 ErrProxySessionUnknown = fmt.Errorf("unknown session id") 52 ErrProxySessionDuplicate = fmt.Errorf("session is already exist") 53 )