# Reserved paths

# Reserved paths

# Reserved paths

A client-side mirror of the page paths Storefront refuses because a fixed
route already owns them (`reserved_paths.rs` in the Storefront repo).
Checking here lets a collision surface before any request instead of as a
400 partway through a push; Storefront's own check is still authoritative,
so this list only needs to catch the common case, not stay byte-for-byte
in sync.


## reserved_conflict

```rust
pub fn reserved_conflict(path : & str) -> Option < String >;
```

`None` if `path` (already normalized, leading slash) is free for a page;
otherwise a human-readable reason naming the route that owns it.
