blob: 079250d06346f8350a4e1881ecb6c355e76fd902 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace Illuminate\Contracts\Queue;
4
5use InvalidArgumentException;
6
7class EntityNotFoundException extends InvalidArgumentException
8{
9 /**
10 * Create a new exception instance.
11 *
12 * @param string $type
13 * @param mixed $id
14 * @return void
15 */
16 public function __construct($type, $id)
17 {
18 $id = (string) $id;
19
20 parent::__construct("Queueable entity [{$type}] not found for ID [{$id}].");
21 }
22}