That is exactly what "CLOSED" is for.

Reply to this note

Please Login to reply.

Discussion

Oh ok got it. So errors then should be sent with CLOSED, rather than NOTICE + EOSE.

I guess the spec is not very clear as it mentions "errors" only on NOTICE, maybe that's why most relay implementations do it that way

Sorry, I take that back. It actually is clear with the examples by the end of NIP. Relays fault

Yes, but that was added later, so implementations are lagged. In the beginning there was only NOTICE.