mirror of https://github.com/vector-im/riot-web
parent
ee344efb3d
commit
1ed4a9eb4f
|
@ -28,7 +28,7 @@ const subtleCrypto = window.crypto.subtle || window.crypto.webkitSubtle;
|
||||||
*
|
*
|
||||||
* @param {string} message message for the exception
|
* @param {string} message message for the exception
|
||||||
* @param {string} friendlyText
|
* @param {string} friendlyText
|
||||||
* @returns {Error}
|
* @returns {{message: string, friendlyText: string}}
|
||||||
*/
|
*/
|
||||||
function friendlyError(
|
function friendlyError(
|
||||||
message: string, friendlyText: string,
|
message: string, friendlyText: string,
|
||||||
|
|
Loading…
Reference in New Issue