Jump to content

Recommended Posts

Posted

How exactly does Invision Power Board handle error logs and messages?

 

Generally we use try catch.

		catch ( \RuntimeException $e )
		{
			if ( method_exists( get_parent_class(), __FUNCTION__ ) )
			{
				return \call_user_func_array( 'parent::' . __FUNCTION__, \func_get_args() );
			}
			else
			{
				throw $e;
			}
		}

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...