protected function makeResult($exception, $resourceChecker)
    {
        $message = $exception->getMessage()
            ? $exception->getMessage()
            : static::UNKNOWN_ERROR;

        if (! isset($resourceChecker)) {
            return [
                null,
                [
                    'healthy' => false,
                    'message' => $message,
                ],
            ];
        }

        $resourceChecker->makeResult(false, $message);

        return [$resourceChecker, null];
    }