Uh, the idea of doing a linear search over 300 values to determine that, for instance, 200 is not an error code gives me a rash. Can this really be the best way of approaching that behaviour?