Concept Flow - Hooks (handle, handleFetch, handleError)
Request received
handle hook runs
Fetch request?
Yes→handleFetch hook runs
Fetch response returned
Route processing
Error occurs?
Yes→handleError hook runs
Error handled or rethrown
Response sent back to client
This flow shows how SvelteKit hooks run in order: handle runs first on every request, handleFetch wraps fetch calls, and handleError runs if an error happens.