now we can catch db exceptions in scottish