UNPKG

opentok-react-native

Version:
12 lines (9 loc) 273 B
const handleError = (error) => { console.log('OTRN JS: There was an error: ', error); }; const handleSignalError = (error) => { if (error) { console.log(`OTRN JS: There was an error sending the signal ${error}`); } }; export { handleError, handleSignalError };