bynk.test.unknown_actor
Error A call-site by <Actor> names an actor the target context does not declare and that is not a prelude actor.
A call-site by <Actor> makes the case act as that actor, so it must name an actor the target context declares, or one of the prelude actors such as Visitor and Caller. Any other name, often a misspelling, has no identity to supply. Correct the name or declare the actor.
Example
actor User { auth = Bearer(secret = "S"), identity = UserId }
// tests/api.test.bynklet r <- api.GET("/items") by Ghost("x") // ✗ no actor `Ghost`let r <- api.GET("/items") by User("x") // ✓In the Book
See also
- The grammar rule it governs:
case. - Every code in its category, Tests, on the diagnostic index.
bynk explain bynk.test.unknown_actorshows the same from the installed toolchain, without a network.