@@ -138,7 +138,7 @@ export class GlobalPlug implements Plug {
138
138
'The specified app ID and the auto-detected app ID are conflicting. '
139
139
+ 'There is no need to specify an app ID when using an application-specific tag. '
140
140
+ 'Please try again omitting the "appId" option. '
141
- + 'Read more on https://croct.help/sdk/js/conflicting-app-id' ,
141
+ + 'For help, see https://croct.help/sdk/js/conflicting-app-id' ,
142
142
143
143
) ;
144
144
}
@@ -149,7 +149,7 @@ export class GlobalPlug implements Plug {
149
149
throw new Error (
150
150
'The app ID must be specified when it cannot be auto-detected. '
151
151
+ 'Please try again specifying the "appId" option.'
152
- + 'Read more on https://croct.help/sdk/js/missing-app-id' ,
152
+ + 'For help, see https://croct.help/sdk/js/missing-app-id' ,
153
153
) ;
154
154
}
155
155
@@ -298,7 +298,7 @@ export class GlobalPlug implements Plug {
298
298
299
299
private get sdk ( ) : SdkFacade {
300
300
if ( this . instance === undefined ) {
301
- throw new Error ( 'Croct is not plugged in. Read more on https://croct.help/sdk/js/not-plugged-in' ) ;
301
+ throw new Error ( 'Croct is not plugged in. For help, see https://croct.help/sdk/js/not-plugged-in' ) ;
302
302
}
303
303
304
304
return this . instance ;
@@ -334,7 +334,7 @@ export class GlobalPlug implements Plug {
334
334
335
335
public identify ( userId : string ) : void {
336
336
if ( typeof userId !== 'string' ) {
337
- throw new Error ( 'The user ID must be a string. Read more on https://croct.help/sdk/js/invalid-user-id' ) ;
337
+ throw new Error ( 'The user ID must be a string. For help, see https://croct.help/sdk/js/invalid-user-id' ) ;
338
338
}
339
339
340
340
this . sdk . identify ( userId ) ;
0 commit comments