The two possibilities "Error" and "array" are the only ones which can occur "spontanously". You will never get anything else unless you throw something else yourself. So it's basically a case of "don't do that then". It's up to the application if you want to use strange throw values or not.