Hi,
How catch an exception on a find ?
I have this exception : Table "signup" doesn't exist in database when dumping meta-data for Models******\Signup
My database haven't the table "signup", it's normal, but i want to catch this exception.
I try this but not working :
try {
$tokenValid = $this->signup->find(
[
"conditions" => "******* = ?1 AND ***** = ?2",
"bind" => [
1 => 0,
2 => $******
]
]
);
} catch (Exception $e) {
throw new Phalcon\Mvc\Dispatcher\Exception();
}
Where can i put a try/catch on the model ???
PS : Sorry i'm bad in english