1<?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}
23