Open PauwelsBart opened 6 years ago
In the read me you can find:
Catching trigger errors
pubnub.getError((err) => { console.log(err); });
But when you want to do this with Typescript, you need to add a channel as parameter (See file pubnub-angular4.d.ts):
getError(channel: string | string[], callback: (error: any) => void): void;
Can this be done without a channel and just catch all errors?
In the read me you can find:
Catching trigger errors
But when you want to do this with Typescript, you need to add a channel as parameter (See file pubnub-angular4.d.ts):
getError(channel: string | string[], callback: (error: any) => void): void;
Can this be done without a channel and just catch all errors?