a better check for this: ``` js .catch(function(error){ switch(error.name){ case 'QueryResultError': ``` is this one: ``` js if(error instanceof pg.QueryResultError){ } ```