Sets error code of all responses of the given request. If argument
name
is given, the error is set only for the first response of the
same name. The function returns E_NOT_FOUND
is argument name
is
given and not found within the responses.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(request_type), | intent(inout) | :: | request |
Request type. |
||
integer, | intent(in) | :: | error |
Error code. |
||
character(len=*), | intent(in), | optional | :: | name |
Response name. |