Creates a ErrorCat from the ErrorMonad instance and environment.
ErrorCat
ErrorMonad
The ErrorMonad instance for M,
M
The ErrorCat instance.
Creates a
ErrorCatfrom theErrorMonadinstance and environment.