The "constants" idea seems more intuitive to me. My initial idea was actually to emit a certain custom event for each type of failure, but then I remembered that you can't do Npm.require("events") on the client. I guess I don't really know what the most "correct" or the most "meteor" way to do it is.