-werners-
Esteemed Contributor III

the syntax is when(....).otherwise(...), not other(...)

And there are some backslashes missing.