diff --git a/js_api_module/uri/src/js_uri.ts b/js_api_module/uri/src/js_uri.ts index 68dc2ba7634a6479670a79488f3118c132314c14..819335f23378a321dd92aacfa1f5144236c69032 100644 --- a/js_api_module/uri/src/js_uri.ts +++ b/js_api_module/uri/src/js_uri.ts @@ -78,7 +78,7 @@ class URI { static createFromParts(scheme: string, ssp: string, fragment: string): URI { if (scheme === null || typeof scheme !== 'string') { - throw new BusinessError(`Parameter error. The type of ${scheme} must be string`); + throw new BusinessError(`Parameter error. The type of ${scheme} must be string `); } if (ssp === null || typeof ssp !== 'string') { throw new BusinessError(`Parameter error. The type of ${ssp} must be string`);