const.go 365 B

12345678910111213141516
  1. package mhayaActor
  2. import (
  3. cerror "github.com/mhaya/error"
  4. )
  5. var (
  6. ErrForbiddenToCallSelf = cerror.Errorf("SendActorID cannot be equal to TargetActorID")
  7. ErrForbiddenCreateChildActor = cerror.Errorf("Forbidden create child actor")
  8. ErrActorIDIsNil = cerror.Error("actorID is nil.")
  9. )
  10. const (
  11. LocalName = "local"
  12. RemoteName = "remote"
  13. )