404: Page not found
Compiling page v0.0.1 (file:///page)
error[E0308]: mismatched types
--> src/main.rs:3:7
|
3 | Page::find("/404.html");
| ^^^^^^^^^^^^^^^^^^^^^^^ expected struct `ValidPage`, found struct `InvalidPage`
|
= note: expected type `ValidPage`
found type `InvalidPage`
error: aborting due to previous error
error: Could not compile `page`.
To learn more, run the command again with --verbose.