add operator -> and get_optional to error_or