For business rule violations, your code could raise a specific error number and then the On Error Goto statement could catch the error and display a user-friendly message.

 
  • 但对于违反业务规范的错误,OnErrorGoto就不能很好的捕捉并可能因此造成巨大的错误后还返回一个友好的界面。
今日热词
目录 附录 查词历史