lib/isolator/errors.rb in isolator-1.0.1 vs lib/isolator/errors.rb in isolator-1.1.0

- old
+ new

@@ -20,6 +20,10 @@ end class MailerError < UnsafeOperationError MESSAGE = "You are trying to send email inside db transaction." end + + class WebsocketError < UnsafeOperationError + MESSAGE = "You are trying to broadcast to a websocket connection inside db transaction. " + end end