of

fun of(domain: String): DomainError.Expected

Returns the Expected instance described by domain; creates a new instance only if domain was not predefined