# Errors

Agentica has no exceptions. A function that can fail returns a `Result`, and the caller reads it.

- Use [Result](https://www.agentica-lang.com/agentica/library/errors/result/index.md) to build `ok(value)` and `error(message)` and to read them.
- A failed Result holds an [Error](https://www.agentica-lang.com/agentica/library/errors/error/index.md): its message, kind, code, details, cause and location.
- Use `try` inside a function that returns a `Result` to pass an error on to its caller. The tour page [Result and try](https://www.agentica-lang.com/agentica/tour/results-and-try/index.md) explains it.

## Pages in this section

- [Result](https://www.agentica-lang.com/agentica/library/errors/result/index.md): Build and read Result values.
- [Error](https://www.agentica-lang.com/agentica/library/errors/error/index.md): The record a failed Result holds.
