Rdoerrors object shows very generalized errors. how to make it to display

the specific errors. for example "it violates the primary key constraint... like".