<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def raise_remote_error(error_code: int) -> None: """Raise the appropriate error with a remote error code."""

    try:
        error = next((v for k, v in ERROR_CODES.items() if k == error_code))
        raise RequestError(error)
    except StopIteration:
        raise RequestError(
            'Unknown remote error code returned: {0}'.format(error_code))