For browser we need to actually throw errors.