Throw error if config.receiverType is invalid