Types that are useful in combination with the
Given the current implementation of the
Termination trait, and the
implementation for every type that implements
Debug, having a
function that returns a
Result requires either using a type that
Debug trait poorly or dealing with an output that isn't
very user friendly.
The types here help alleviate those issues. To begin with, we have an
Error type that simply wraps any possible error and implements
such a way as to make the output look nice. Additionally, there is a
Result specialization in order to make the
main function a little
An error that wraps all other error types for a nicer debug output.