(err: NodeFSError)
| 31 | |
| 32 | class StringLoader { |
| 33 | processErrorIfNotNull(err: NodeFSError): void { |
| 34 | if (!err) { |
| 35 | return; |
| 36 | } |
| 37 | info.error(err.message); |
| 38 | throw err; |
| 39 | } |
| 40 | |
| 41 | // This API reads specified file one chunk at a time, |
| 42 | // identifies and returns the content that: |