Add original exception message to Invalid

This commits add the original exception message to the Invalid
exception, as an attribute called `error_message`. This is so that the
developer can retrieve this error message more easily.