---
title: "Phalcon Exception"
version: "4.2"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.phalcon.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Phalcon Exception

:::info[NOTE]
All classes are prefixed with `Phalcon`
:::

## Events\Event

[Source on GitHub](https://github.com/phalcon/cphalcon/blob/4.2.x/phalcon/Events/Event.zep)

-   __Namespace__

    - `Phalcon`

-   __Uses__

-   __Extends__

    - `Exception`

-   __Implements__

    - `Throwable`

All framework exceptions should use or extend this exception

### Methods

```php
public static function containerServiceNotFound( string $service ): string;
```

Source: https://docs.phalcon.io/4.2/api/phalcon_exception/index.mdx
