The interface that an error handler must implement to be able to be used. It includes
three methods:
registerCycleError: Used to register an error that has occurred while iterating through the generator
registerOpError: Used to register an error if it occurs while performing on operation
compile: After iterating through the array and performing operations, return the data in a different form.
NOTE: Because I was having difficulties with TypeScript types, you might not get the correct types if you
want to implement your own error handlers, c.f. Issue #27.
The interface that an error handler must implement to be able to be used. It includes three methods:
NOTE: Because I was having difficulties with TypeScript types, you might not get the correct types if you want to implement your own error handlers, c.f. Issue #27.