---
title: Error Handling
description: Handle errors gracefully with typed error factories, per-route handlers, and global fallbacks.
---

Nooh gives you two levels of error handling: per-route typed error factories that make throwing structured errors ergonomic, and global or group-level `onError` handlers that catch anything not handled locally.

**[Errors](/docs/error-handling/errors)**

Defining and throwing typed errors in route handlers.

**[Error handlers](/docs/error-handling/error-handlers)**

Per-route, per-group, and global error handlers.

**[HTTP errors](/docs/error-handling/http-errors)**

Working with Hono's built-in HTTP error classes.
