02-18-2018, 08:08 PM
So you can capture the errors to a variable or if you're building you can just go ahead and dump them or dnd them. Right after a query you can do.
dnd($db->errorInfo());
or
dnd($db->error());
dnd($db->errorInfo());
or
dnd($db->error());