spectrum-sim: move handleError out of the core simulator; it's up to the consumer to handle these server errors.