Exception: Ruact::Testing::NotAFlightResponseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ruact/testing/flight_extractor.rb

Overview

Raised by FlightExtractor.extract when the given response/String is not a Flight page render — most importantly when it is a plain-JSON function-call/query response. The message tells the spec author what they were handed and how to assert on it instead. Public: hosts may rescue it.