Split the code, add file server example.

This commit is contained in:
SukantGujar
2019-03-11 13:41:55 +05:30
parent 45439ef50d
commit 2d2d20f6e9
16 changed files with 560 additions and 135 deletions

5
src/RangeParserError.ts Normal file
View File

@@ -0,0 +1,5 @@
export class RangeParserError extends Error {
constructor(start: any, end: any) {
super(`Invalid start and end values: ${start}-${end}.`);
}
}