php - What to do after transaction rollback -


i need advise.

what best thing when there rollback after starting transaction?

  • execute rest of website
  • kill complete website, , display error message.

thanks!

it depends on want do.

however:

  • you don't want put raw error message in front of user, should meaningful.
  • the meaningful message, should have same , feel of rest of page, , not white page black writing.
  • it should include kind of navigation, user can recover error.
  • if form, user presumably re-try data possible should still in form not duplicate work.

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -