The throwing function is used in tp, but the debugging function is disabled. Once an error is thrown, the system directly jumps to the page with no error content displayed. Like payment and other class libraries, after I reference it, some program exceptions have to be thrown and the content is displayed. how can I disable it in debug... the throwing function is used in tp, but the debugging function is disabled.
Once an error is thrown, the system directly jumps to the page with no error content displayed.
Like payment and other class libraries, after I reference it, the program may throw some exceptions and see the content, how to disable it in debug, and how to view the throw content.
Throw new SDKRuntimeException ("The required openid parameter is missing in the unified payment interface! When trade_type is JSAPI, openid is a required parameter! "."
"); Class SDKRuntimeException extends Exception {public function errorMessage () {return $ this-> getMessage ();}}