src/Exception/ResourceNotFoundException.php
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;
    }
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;
    }
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 ; }
Creates an error message for a not found exception.

@param string $baseMessage The base error message
@param string $path        The requested path
@param array  $parameters  The query parameters (if defined)

@return string
Creates an error message for a not found exception .