returnbad_request_error(detail="Bad Role in provider",cause="Different role in update reqeuest",invalid_params=[{"param":"api_prov_func_role","reason":"differente role with same id"}])
returnbad_request_error(detail="Bad Role in provider",cause="Different role in update reqeuest",invalid_params=[{"param":"api_prov_func_role","reason":"different role with same id"}])
prob=ProblemDetails(title="Internal Server Error",status=500,detail=detail,cause=cause)
prob=ProblemDetails(type="http://www.ietf.org/rfc/rfc2396.txt",instance="http://www.ietf.org/rfc/rfc2396.txt",title="Internal Server Error",status=500,detail=detail,cause=cause,invalid_params=[{"param":"","reason":""}],supported_features="fffff")
# BEFORE: prob = ProblemDetails(title="Internal Server Error", status=500, detail=detail, cause=cause)