[proposal] throw exceptions
Closed this issue · 3 comments
Deleted user commented
devster commented
Hi,
It can be a good idea, but for both memory methods you can use them when you want too. And I don't know how people use this lib :)
Deleted user commented
@devster I think we can release new version like 1.3 or 2.0 and say about API break
and about memory you are right
devster commented
If you provide a PR I would be glad to make a version 2 with those changes:
- throw exception if end() was called before start()
- throw exception if getTime(), before, start() -> end()
What do you think?