of

fun of(    content: <ERROR CLASS>,     context: ExecutionContext,     cause: Throwable? = null): MessageError

Factory method to create a MessageError