Improve error reporting for monad wrappers.
Improve error reporting for monad wrappers.

alanz/Alex,simonmar/alex,alanz/Alex,simonmar/alex,hvr/alex,hvr/alex,Teino1978-Corp/Teino1978-Corp-alex,Teino1978-Corp/Teino1978-Corp-alex