2
0
mirror of https://github.com/esiur/esiur-js.git synced 2025-06-27 15:23:11 +00:00

Exception

This commit is contained in:
2020-01-14 02:59:49 +03:00
parent b74d236ca3
commit 4606993bf1
5 changed files with 17 additions and 17 deletions

View File

@ -442,7 +442,7 @@ export default class Codec {
length -= cs.size;
}
else
throw new Exception("Error while parsing ValueInfo structured data");
throw new Error("Error while parsing ValueInfo structured data");
}
rt.seal();
@ -536,7 +536,7 @@ export default class Codec {
contentLength -= cs.size;
}
else
throw new Exception("Error while parsing structured data");
throw new Error("Error while parsing structured data");
}