[ issue 1156 ] Replaced data constructor by function

We defined the `mkExceptT` function to be used instead of the data
constructor `ExceptT`/`ErrorT`.