src/classes/CCError/Handler.php
public function handle()
	{
		$this->log();
		
		// when not in development we respond using a route
		if ( !ClanCats::in_development() && !ClanCats::is_cli() )
		{
			CCResponse::error(500)->send( true );
		}
		// when in development continue with the default responder
		else
		{
			$this->respond();
		}
	}
public function handle()
	{
		$this->log();
		
		// when not in development we respond using a route
		if ( !ClanCats::in_development() && !ClanCats::is_cli() )
		{
			CCResponse::error(500)->send( true );
		}
		// when in development continue with the default responder
		else
		{
			$this->respond();
		}
	}
public function handle ( ) { $ this -> log ( ) ; // when not in development we respond using a route if ( ! ClanCats :: in_development ( ) && ! ClanCats :: is_cli ( ) ) { CCResponse :: error ( 500 ) -> send ( true ) ; } // when in development continue with the default responder else { $ this -> respond ( ) ; } }
trigger the handler

@return void
trigger the handler