Adding error handling support to MTLValueTransformer

as well as existing transformers