In addition to adding an example of simulation for one of the tests, this pull request removes the string parameter from the error monad to represent panics.
This should simplify the use of this monad a bit, and it allows to make a panic with a richer payload than a string for debugging purposes.
In addition to adding an example of simulation for one of the tests, this pull request removes the
string
parameter from the error monad to represent panics.This should simplify the use of this monad a bit, and it allows to make a panic with a richer payload than a string for debugging purposes.