---
title: "Exceptions"
canonical_url: "https://handbook.propay.co.za/laravel/exceptions"
---
# Exceptions

Be explicit about error

<code-group>

```php [PHP]
// GOOD
abort(404, "The member with the ID $memberId could not be found.");

// BAD
abort(404);
```

</code-group>


## Sitemap

See the full [sitemap](https://handbook.propay.co.za/sitemap.md) for all pages.
