bynk.email.return_not_email_verdict
Error An email on message handler does not return Effect[EmailVerdict].
An email handler decides what happens to the message, and the decision is named: Accept, Reject(reason), Forward(to) or Reply(message), the EmailVerdict sum from bynk.cloudflare. It is not a Result or a String, because the decision is independent of success or failure. It is the agency rule that gives a queue handler QueueResult.
Example
on message(mail: InboundEmail) -> Effect[String] { // ✗ not a verdict "done"}
on message(mail: InboundEmail) -> Effect[EmailVerdict] { // ✓ Accept}In the Book
See also
- Every code in its category, Other, on the diagnostic index.
bynk explain bynk.email.return_not_email_verdictshows the same from the installed toolchain, without a network.