c
LiveNotFound
class LiveNotFound(reason: String) extends RuntimeExceptionFails a root LiveView's mount or handleParams when what its URL names does not exist.
A page request answers 404 Not Found with the router's LiveErrorPage, or with the bare
status without one. When the LiveView fails while joining, as after live navigation, the browser
reloads the page and that request answers the same 404. reason is logged at debug level and
never sent to the browser.
patients.find(id).someOrFail(LiveNotFound(s"patient $id"))Parameters
reasonWhat was not found, for the log.
Defined by scalive.LiveNotFound. View source (scalive/api/src/scalive/LiveNotFound.scala:17-17)
Values1
reason
val reason: StringWhat was not found, for the log.
Defined by scalive.LiveNotFound.reason. View source (scalive/api/src/scalive/LiveNotFound.scala:17-17)