Exception: Pgbus::Streams::StreamNameTooLong

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/pgbus/streams.rb

Overview

Raised when a composed stream name would overflow PGMQ’s queue-name budget (derived from PostgreSQL’s NAMEDATALEN=64, minus PGMQ’s ‘q_` table prefix, minus the configured queue_prefix + separator).

Inherits from ArgumentError so existing rescues of the underlying QueueNameValidator error keep working; callers that want to handle this specifically can rescue Pgbus::Streams::StreamNameTooLong.