A wrapper around the go database/sql library with better error reporting