Making errors work for non-meteor apps.