Added exception_ptr() getter to expected.