mirror of
https://github.com/esiur/esiur-js.git
synced 2026-04-03 21:48:21 +00:00
Exception
This commit is contained in:
@@ -54,7 +54,7 @@ export default class NetworkBuffer {
|
||||
|
||||
holdFor(src, offset, size, needed) {
|
||||
if (size >= needed)
|
||||
throw new Exception("Size >= Needed !");
|
||||
throw new Error("Size >= Needed !");
|
||||
|
||||
this.data = DC.combine(src, offset, size, this.data, 0, this.data.length);
|
||||
this.neededDataLength = needed;
|
||||
|
||||
Reference in New Issue
Block a user