public static function createErrorMessage(string $baseMessage, string $path = null, array $parameters = []): string
    {
        $errorMessage = $baseMessage;
        if ($path !== null) {
            $errorMessage .= sprintf(
                static::PATH_MESSAGE,
                $path,
                \GuzzleHttp\Psr7\build_query($parameters)
            );
        }
        return $errorMessage;
    }