WithFallbackF

final case class WithFallbackF[F[_], Page, Props](rule: RoutingRule[Page, Props], fallbackPath: Page => Path, fallbackAction: (Path, Page) => ActionF[F, Page, Props])(implicit F: Sync[F])

Exhaustive routing rules. For all Pages there are Paths and Actions.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def notFound(whenNotFound: Path => Parsed[Page]): RouterWithPropsConfigF[F, Page, Props]

Specify a catch-all response to unmatched/invalid routes.

Specify a catch-all response to unmatched/invalid routes.

def notFoundDynamic(whenNotFound: Path => F[Parsed[Page]]): RouterWithPropsConfigF[F, Page, Props]

Specify a catch-all response to unmatched/invalid routes.

Specify a catch-all response to unmatched/invalid routes.

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product