when i am updating a record from details page i am getting error as 
>You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary

But same when i am trying to update the record from Visualforce page it is giving the error as 
>Insufficient Privileges

I know both the error message is explaining the same.

But i want to display the same error message on VF as it is on Details page.
Means both the place should give same error message.

Please comment.

Regards,
JP Mishra