Exception: Chats::BlockedError

Inherits:
Error
  • Object
show all
Defined in:
lib/chats/errors.rb

Overview

Raised when trying to open a conversation with (or send a message to) someone the sender is blocked with — in either direction. Controllers translate this into a friendly flash; model-level callers get the raise.