class UI::App::WebOnlyScreenError

Overview

Phase 8C — raised by UI::ActionDispatcher#dispatch when an action resolves to a screen registration whose controller_class is nil (i.e. a screen that was registered as web-only and therefore has no native UI::Controller bound). Surfacing this as a typed exception keeps the native dispatch path honest: a native build that accidentally drives into a web-only screen fails loudly with the route_id and the screen's web binding in the message, rather than NoMethodError on .new of a nil class.

Defined in:

asset_pipeline/native_app.cr