Exception: Parse::Push::BroadcastNotAllowed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/parse/model/push.rb

Overview

Raised when a Parse::Push would broadcast to every Installation because no ‘where` constraints and no `channels` are set, and the caller did not explicitly opt in via allow_broadcast or per-instance #broadcast!.

This is a fail-closed guard against the to_audience / to_audience_id class of footguns where a typo, deleted audience, or unset-param silently degrades a targeted push into a global one.