should this be: `when Code >= 400, Code < 600 ->`? Note the `s/;/,`.