Yes, I like a `case class ErrorClose(cause: String)` even better. No problems with serializability and still transports some more details as to what happened to the user. Since this case should be rare the extra allocation over a case object does not matter.