Revert "Keep error type in materialized function"
Revert "Keep error type in materialized function"

This reverts commit 6cdd75ce19deab85012b381846aea040c89fe800.

mishagray/Result,ikesyo/Result,ishkawa/Result,NachoSoto/Result,antitypical/Result,ikesyo/Result,ratkins/Result,ikesyo/Result,bencochran/Result,antitypical/Result,tiger8888/Result,natestedman/Result,ishkawa/Result,NachoSoto/Result,antitypical/Result,natestedman/Result,ishkawa/Result,colemancda/Result,bencochran/Result,itschaitanya/Result,ratkins/Result,bencochran/Result,mishagray/Result,colemancda/Result,lixar/Result,natestedman/Result,NachoSoto/Result,ratkins/Result,lixar/Result,tiger8888/Result,itschaitanya/Result