added a method to rethrow exceptions on AsResult for mutable specifications